Hi, I am trying to run ocv3 instance (for opencaching.cz upgrade), but althrough I made some translations into sys_trans_text tables as a lang=CS, I am unable to switch whole site in CS language in default. I have made some settings in htdocs/config2/settings-dist.inc.php and htdocs/lib/settings.inc.php, but nothing helps.
Is there a way to made CS lang default?
Thanks.
ocv3 language setting
Anyone who knows how the system works?
System does not reacts at locale setting (index.php?locale=IT for example) at all. It just changes only country names, for example shows page in english like this: Geocaches with most ratings in the last 180 days in Ceca, Repubblica.
When I perform same action on opencaching.de, it changes all text's language correctly. When I let all settings at default (locales DE), it does not work either.
System does not reacts at locale setting (index.php?locale=IT for example) at all. It just changes only country names, for example shows page in english like this: Geocaches with most ratings in the last 180 days in Ceca, Repubblica.
When I perform same action on opencaching.de, it changes all text's language correctly. When I let all settings at default (locales DE), it does not work either.

In your config2/settings.inc.php, add these lines:
This sets the language for www.opencaching.cz to "CZ" per default.
Code: Alles auswählen
$opt['domain']['www.opencaching.cz']['url'] = 'http://www.opencaching.cz/';
$opt['domain']['www.opencaching.cz']['locale'] = 'CZ';
$opt['domain']['www.opencaching.cz']['style'] = 'ocstyle';
$opt['domain']['www.opencaching.cz']['cookiedomain'] = '.opencaching.cz';
$opt['domain']['www.opencaching.cz']['country'] = 'CZ';
Thanks for reply. I tried it, but it did not helped. Even if I set 'DE', which have full translation in sys_trans_text, website is still in English. Locale settings does nothing.
I have set write permissions for cache2, cache2/translate/, cache2/smary/cache and cache2/smarty/compiled/ dir, which now includes files like ocstyle^ES^^%%0A^0A0^0A0360A0%%sys_main.tpl.inc...
Any other necessary permissions or something?
I have set write permissions for cache2, cache2/translate/, cache2/smary/cache and cache2/smarty/compiled/ dir, which now includes files like ocstyle^ES^^%%0A^0A0^0A0360A0%%sys_main.tpl.inc...
Any other necessary permissions or something?