AbanteCart Community

Shopping Cart Operations => Tips and Tricks => Topic started by: Tristan on December 18, 2019, 04:20:21 AM

Title: Menu mobile "Go to..." - how to translate in different languages
Post by: Tristan on December 18, 2019, 04:20:21 AM
Hi to all!
I need a solution to translate in different languages the head text from mobile menu dropdown "Go to.." from custom.js.
Thanks in advance!
Title: Re: Menu mobile "Go to..." - how to translate in different languages
Post by: dvagner on December 18, 2019, 08:33:52 AM
Hello,
You can use https://github.com/laracasts/PHP-Vars-To-Js-Transformer
or any i18n for JS solution.
Title: Re: Menu mobile "Go to..." - how to translate in different languages
Post by: Tristan on December 18, 2019, 03:14:04 PM
Thank you for help. Interesting and useful. Anyone else have another solution?
Title: Re: Menu mobile "Go to..." - how to translate in different languages
Post by: HADY on December 19, 2019, 05:42:03 AM
Hello!

I think for now you can only edit the file to change it to something different, check next forum if you are interested.

http://forum.abantecart.com/index.php/topic,2094.msg8605.html#msg8605


Regards
HADY
Title: Re: Menu mobile "Go to..." - how to translate in different languages
Post by: Tristan on December 19, 2019, 03:26:11 PM
Thank you for your interest. I know that "Go to ..." can be modified with another word. The problem is that when the client changes the language they see the same message not in the selected language.
Title: Re: Menu mobile "Go to..." - how to translate in different languages
Post by: gabs2019 on December 29, 2019, 08:09:09 AM
could you solve it?