Author Topic: Menu mobile "Go to..." - how to translate in different languages  (Read 4813 times)

Offline Tristan

  • Newbie
  • *
  • Posts: 12
  • Karma: +4/-0
    • View Profile
Menu mobile "Go to..." - how to translate in different languages
« 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!

Offline dvagner

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • View Profile
Re: Menu mobile "Go to..." - how to translate in different languages
« Reply #1 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.

Offline Tristan

  • Newbie
  • *
  • Posts: 12
  • Karma: +4/-0
    • View Profile
Re: Menu mobile "Go to..." - how to translate in different languages
« Reply #2 on: December 18, 2019, 03:14:04 PM »
Thank you for help. Interesting and useful. Anyone else have another solution?

Offline HADY

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +27/-5
    • View Profile
Re: Menu mobile "Go to..." - how to translate in different languages
« Reply #3 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
Thank you In Advanced
Regards
HADY

Offline Tristan

  • Newbie
  • *
  • Posts: 12
  • Karma: +4/-0
    • View Profile
Re: Menu mobile "Go to..." - how to translate in different languages
« Reply #4 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.

Offline gabs2019

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • runtporplaca
Re: Menu mobile "Go to..." - how to translate in different languages
« Reply #5 on: December 29, 2019, 08:09:09 AM »
could you solve it?

 

Powered by SMFPacks Social Login Mod