Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] .htaccess News Manager + I18N setup
#9
(2013-04-22, 16:36:43)TeeJay Wrote: I finally got it working this morning.

To prevent the site from switching from Czech to English after clicking onto a post, I had to add &lang=cs behind every "Czech" NM line of .htaccess.

...

I don't really know why did it work for you the way you proposed it and not for me.
...

I don't really know why does "&lang=cs" have to be in the .htaccess, it's already set up in the admin panel (see the picture above).

The I18N plugin uses two approaches to determine the language. Either the language is included in the URL (lang=xx) or the language is determined from the user's browser's language settings.

Thus not specifying the language in the URL for your default language will have it fall back to using the browser settings, which might have "cs" first for one user and "en" first for another user.

The default language in the settings is used only, if the browser settings are used, but none of the languages in the browser match the site's languages.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
RE: .htaccess News Manager + I18N setup - by mvlcek - 2013-04-22, 16:49:43



Users browsing this thread: 1 Guest(s)