Home Forums Template Support Contact form – translation

Viewing 15 posts - 1 through 15 (of 20 total)

  • Matic Omejc
    Subscriber

    Hi,
    I try to find Contact form to translate few words (your name, your email…). Where can I change this words?
    Website – contact form is in footer: http://www.moj-svet.com

    Thanks
    Matic


    Tony
    Moderator

    Hi Matic,
    You can use Joomla language override feature to translate the form label, please do following this tutorial for more detail.
    Here the list language constant name for contact form

    COM_QUIX_EMAIL_SENT_SUCCESSFUL
    COM_QUIX_EMAIL_SENT_ERROR
    
    QX_CF_YOUR_NAME
    QX_CF_YOUR_EMAIL
    QX_CF_YOUR_SUBJECT
    QX_CF_YOUR_MESSAGE
    QX_CF_SEND
    
    QX_CF_YOUR_NAME_HINT
    QX_CF_YOUR_EMAIL_HINT
    QX_CF_YOUR_SUBJECT_HINT
    QX_CF_YOUR_MESSAGE_HINT

    Thank you


    Marcin Stodolski
    Subscriber

    Hi,
    how to change the description of fields in the template contact form
    Destiny PRO Standard Joomla Template
    I set my language in my joomla, but it did not help.


    Tony
    Moderator

    Hi Marcin,
    Do you mean the rsvp form ?


    Marcin Stodolski
    Subscriber

    Component
    Quick – Page
    Contact Form


    Tony
    Moderator

    Did you create language override for Joomla your language before ? Choosing your language for overriding instead default “English”
    See https://joomlead.com/forums/topic/contact-form-translation/#post-125288


    Marcin Stodolski
    Subscriber

    OK – I know. It works.
    How to change:
    – day
    – hours
    – minutes


    Marcin Stodolski
    Subscriber

    Component
    Quick – Page

    Countdown


    Tony
    Moderator

    Hi Marcin,
    It seems Quix does not support translate these text string using Joomla language override.
    I found the code like so

                    + '<div class="days"><span>%-D</span> <?php echo JText::_("Days"); ?></div> '
                    + '<div class="hours"><span>%H</span> <?php echo JText::_("Hours"); ?></div> '
                    + '<div class="minutes"><span>%M</span> <?php echo JText::_("Minutes"); ?></div> '
                    + '<div class="seconds"><span>%S</span> <?php echo JText::_("Seconds"); ?></div> '

    Which Quix version are you using ? We can create an override element in order to translate the text via html override instead modifing Quix core element


    Marcin Stodolski
    Subscriber

    My Version:
    The Quix Builder version 1.9.2 PRO brought to you by ThemeXpert team.

    Where and how should I insert this code?


    Tony
    Moderator

    Just download the countdown override element here https://www.dropbox.com/s/smjinwc8fi9icl1/countdown.zip?dl=0
    unzip and upload to joomla/templates/template_name/quix/elements/
    Next, open view.php file -> line 30 then modify the text string.


    Marcin Stodolski
    Subscriber

    <?php
    $classes = classNames( “qx-element qx-element-{$type} {$field[‘class’]}”, $visibilityClasses, [
    “wow {$field[‘animation’]}” => $field[‘animation’],
    “qx-hvr-{$field[‘hover_animation’]}” => $field[‘hover_animation’]
    ] );

    // Animation delay
    $animation_delay = ”;
    if( $field[‘animation’] AND array_key_exists(‘animation_delay’, $field) ){
    $animation_delay = ‘data-wow-delay=”‘. $field[‘animation_delay’] .’s”‘;
    }

    Assets::Js(‘qx-countdown’, QUIX_URL.”/app/elements/countdown/js/jquery.countdown.min.js”);

    $date = ”;

    if(!empty($field[‘date’])){
    $date_json = json_decode($field[‘date’]);
    $date = $date_json->string;
    }
    $time = $field[‘time’];
    ?>

    <div id=”<?php echo $id;?>” class=”<?php echo $classes?>” <?php echo $animation_delay; ?>>
    <div id=”<?php echo $id;?>_clock”></div>

    <script type=”text/javascript”>
    jQuery(‘#<?php echo $id;?>_clock’).countdown(‘<?php echo $date .’ ‘. $time ?>’, function(event) {
    var $this = jQuery(this).html(event.strftime(”
    + ‘<div class=”days”><span>%-D</span> <?php echo JText::_(“Dni”); ?></div> ‘
    + ‘<div class=”hours”><span>%H</span> <?php echo JText::_(“Godzin”); ?></div> ‘
    + ‘<div class=”minutes”><span>%M</span> <?php echo JText::_(“Minut”); ?></div> ‘
    + ‘<div class=”seconds”><span>%S</span> <?php echo JText::_(“Sekund”); ?></div> ‘
    ))
    .on(‘finish.countdown’, function(event) {
    jQuery(this).html(‘<?php echo $field[‘offer_expired’]; ?>’)
    .parent().addClass(‘disabled’);
    });
    });
    </script>
    </div>

    Did not help 🙁


    Tony
    Moderator

    I tested and it worked. Submit the private ticket here https://joomlead.com/ticket-support/ then provide administrator account to check.


    Marcin Stodolski
    Subscriber

    OK, I’ve already created 1163.


    Tony
    Moderator

    I checked your folder structure, you didn’t upload the element countdown to joomla/templates/jl_destiny_pro/quix/elements/
    Did you try to do that before?

Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in to reply to this topic.

80+ Joomla templates updated for Joomla 5.2.2 and JoomLead particles 2.3.1 Download
Flash Sale. Get Up to 25% Off - Coupon: FLASH25 Shop Now