27 July 2008 at 10:49pm
I have got a website in 2 languages: English and Russian. When a user first visits the website, he sees the English translation. How can I make Russian the default language? I have tried i18n::set_default_language('ru') but instead of making the site look russian by default, it made the language switch in the CMS go away. Please, help.
1 August 2008 at 8:50pm
(Last edited: 1 August 2008 8:58pm),
I have a site with default language set on Bulgarian and English to switch by ?lang=en.
So it should work with:
And when you enter the CMS the default language set to add things will be Russian, when you change it in the CMS to English (for example) and you leave the CMS set on English the website will be in English.. so before you leave let it on Russian again.
Dispite that, with those strings added in your _config.php everything should work (i have it that way and it works) ^^ maybe it's a good idea when you do it to flush the cache ?flush=1
hope you make it!
Well if everything still goes on a mess, you can save your work and start making a new page with the translation mode enabled..this way it should by everything ok ^^
1 August 2008 at 9:08pm
It seems like you have to start with your default language from the very beginning and THEN translate pages to the secondary (english in my case). I have started the site from scratch and that fixed the problem.