test
Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • Paulo Santos Friend
    #1056126

    Hi Saguaros,

    I have seen that this option was finally implemented, thank you for this!

    Just one small correction that is needed in my opinion, when the email is send the received message is in english and there is no language file or fields were we can change this, I think this part should also be corrected because some of my clients don´t speak english and the websites are in Portuguese.

    Thank you

    Saguaros Moderator
    #1056157

    Hi Paulo,

    Do you mean this message?

    Your data is successfully submiited. Thank you!

    You can select the Form in Edit mode of page, then translate to your desired language: http://prntscr.com/g84y70

    Paulo Santos Friend
    #1056265

    Hi Saguaros,

    It´s not those messages, it´s the received email message like this one:

    "Hello,

    This is your user submitted data:

    Nome
    paulo
    Email
    paulostr@gmail.com
    Mensagem
    teste03

    Thank you, "

    Thanks

    Saguaros Moderator
    #1056529

    Hi Paulo,

    I’m afraid that there is no option to translate these mail text. I’ll pass to the team for further discussion on this.

    Paulo Santos Friend
    #1056575

    Hi Saguaros,

    Can you please just tell me the the location of the file that have this message inside so I can translate it myself manually for now.

    Thank you

    Saguaros Moderator
    #1056738

    Hi,

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

    Change it to:

    <?php
        $items = $displayData['items'];
    ?>
    <?php echo JText::_('HELLO'); ?>!<br /><br />
    
    <?php echo JText::_('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::_('THANKS'); ?>!

    Then open the file of language you’re using, for example, with English: root/language/en-GB/en-GB.ini

    And add the translated text to your desired language:

    HELLO                      = "Hello"
    SUBMITTED_DATA = "This is submitted data"
    THANKS                   =  "Thank you"
    Paulo Santos Friend
    #1056955

    Hi Saguaros,

    That solved my problem!

    Thank you

Viewing 7 posts - 16 through 22 (of 22 total)

This topic contains 21 replies, has 4 voices, and was last updated by  Paulo Santos 7 years, 4 months ago.

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