Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Menu mobile "Go to..." - how to translate in different languages  (Read 340 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

  • Newbie
  • *
  • Posts: 28
  • Karma: +8/-0
    • 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

  • Full Member
  • ***
  • Posts: 157
  • Karma: +13/-1
    • 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
-----------------------------
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