Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
How can I set value for current_lang (in my case Russian)?
Now pages of my site includes this line:
<meta http-equiv="Content-Language" content="en">
but I need
<meta http-equiv="Content-Language" content="ru">
I found the code in ...\sapphire\core\model\SiteTree.php on line 682
There are suggestions?
Set the default language in your _config.php
i18n::set_default_lang('xx'); Where xx is your i8n code .. I'm guessing it'll be ru .... ;-)
Where can I find this _config.php (in /mysite/ or /sapphire/)?