Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with I18N
#1
Hello everyone,
I have just used GetSimple CMS for the first time on my last Project. The client is happy with the backend and knows what is to do.

Now, he wishes the whole website in an english version too. I installed the I18N Plugin and now I'm setting it up (work in progress).

I just realized is following:

If I click "EN", the website changes to english and the off canvas navigation is in english too (thats good!), but if I click e.g. "Our Restaurant" in the navigation the link jumps back to the german version of it. But I want (and I guess the visitors too) that the website stays in english until I click the "DE" link again. How can in manage that? I have almost no PHP experience! I just know where the PHP-Tags to put. Thats it.

(my default Browser/OS language is in German)

Your help is very appreciated. Thank very much!
Sven
-----------------------------------------------------
Premium HTML5 Ad Banners, Google Ads
and Campaigns

https://netrocket.ch
https://www.kontiko.ch
-----------------------------------------------------
Reply
#2
(2016-04-08, 16:39:49)Sveninho Wrote: But I want (and I guess the visitors too) that the website stays in english until I click the "DE" link again.

If you change the 'DE / EN' links from ?lang=... to ?setlang=..., they will behave the way you want.

Edit to add: if an English version is not available, the content will fall back to German for that page.
--
Nick.
Reply
#3
Yessss! This works! Thank you very much Nick!
-----------------------------------------------------
Premium HTML5 Ad Banners, Google Ads
and Campaigns

https://netrocket.ch
https://www.kontiko.ch
-----------------------------------------------------
Reply
#4
(2016-04-08, 17:53:29)Sveninho Wrote: Yessss! This works! Thank you very much Nick!

You have an error: ?setlang==de
--
Nick.
Reply




Users browsing this thread: 1 Guest(s)