Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rzurita Friend
    #1086983

    Hello, I need to translate to Spanish the email sent from contact us to the mailbox, the form I did with the JA Page Builder.
    Thank you

    Saguaros Moderator
    #1087118

    Hi,

    You can try opening the file: root/plugins/system/jabuilder/html/jabuilder/mail.php

    and add the JTEXT for translation like this:

    <?php
        $items = $displayData['items'];
    ?>
    <?php echo JText::_('JB_HELLO'); ?>,<br /><br />
    
    <?php echo JText::_('JB_SUBMITTED_DATA'); ?>:<br /><br />
    
    <?php foreach ($items as $item) : ?>
    <strong><?php echo $item['title'] ?></strong>
    <pre><?php echo $item['value'] ?></pre>
    <?php endforeach ?>
    
    <br />
    <?php echo JText::_('JB_THANKS'); ?>,

    Then you add above text: JB_HELLO, JB_SUBMITTED_DATA, JB_THANKS to the language file of this template in Spanish language folder: root/language/es-ES/es-ES.tpl_ja_builder.ini

    If this file doesn’t exist, you can copy this file: root/language/en-GB/en-GB.tpl_ja_builder.ini from English and past to that es-ES folder and do the translation.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 6 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum