Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N - setting a default language
#3
I reviewed your support page and tried some variations in hopes that I might get it to work. I also tested it with the Innovation theme but had the same problems.

>>how is I18N setup (language in URL?)?
"Language of all pages with URLs without language code (like "index"), e.g. "de":" is set to "de"
Live links look like this:
http://rightfulliving.com/yoga/
http://rightfulliving.com/yoga/?setlang=de


>>Does this happen immediately or only after you try to switch the language?
The home page loads in English (default is Deutsch). This can be changed to a German page with a link "?setlang=de" or "<?php echo htmlspecialchars(return_i18n_setlang_url('de')); ?>"

After switching the language by clicking a link, the pages return to either German or English. It seems 9 times out of 10 the pages will be either German or English. They do not randomly change. There is a yoga page that came up 5 times in German (using Chrome), and 2 times in English (using Internet Explorer).

>>What is the default language you have set in your browser?
English
English US

>>Does it happen with all browsers or just with on (e.g. Chrome)?
Yes, all browsers, but they behave slightly differently. Chrome almost always shows the same page in the same language (i.e. German) where Internet Explorer may show it in the same language (i.e. English).

(2013-08-16, 06:24:15)mvlcek Wrote:
(2013-08-16, 04:48:58)j*z Wrote: I've installed the I18N plugin and have it about 80% working. I am unable, however to set a default language. When I click my site's navigation links it jumps from a German page to an English page or from an English page to a German page.

See Problem Solving on http://get-simple.info/forums/showthread...1221#p8812

If this doesn't help, please specify more details: how is I18N setup (language in URL?)? Does this happen immediately or only after you try to switch the language? What is your language switching link? What is the default language you have set in your browser? Does it happen with all browsers or just with on (e.g. Chrome)?
Reply


Messages In This Thread
I18N - setting a default language - by j*z - 2013-08-16, 04:48:58
RE: I18N - setting a default language - by mvlcek - 2013-08-16, 06:24:15
RE: I18N - setting a default language - by j*z - 2013-08-16, 10:47:55
RE: I18N - setting a default language - by j*z - 2013-08-22, 04:39:40



Users browsing this thread: 1 Guest(s)