-
AuthorPosts
-
August 13, 2017 at 6:34 pm #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 14, 2017 at 2:11 am #1056157Hi 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
August 14, 2017 at 10:29 am #1056265Hi 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
teste03Thank you, "
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 15, 2017 at 8:34 am #1056529Hi 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.
August 15, 2017 at 11:56 am #1056575Hi 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 16, 2017 at 8:36 am #1056738Hi,
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"
1 user says Thank You to Saguaros for this useful post
August 17, 2017 at 9:56 am #1056955Hi Saguaros,
That solved my problem!
Thank you
-
AuthorPosts
This topic contains 21 replies, has 4 voices, and was last updated by Paulo Santos 7 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum