Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Dutch Locale won't work unless I set the $'Locale' parameter to 'en-CA'
rene
New
I've made a Dutch locale based on the Baseline Locale addon. Thus far I've translated the captured.php file and I have the definitions.php file set-up. The Locale shows up in my dashboard, but nothing changes when I enable my addon.
I'm following the steps in http://vanillaforums.org/page/localization#Baseline but noting happens. What am I doing wrong?
I'm following the steps in http://vanillaforums.org/page/localization#Baseline but noting happens. What am I doing wrong?
0
Comments
Found an artifact rule
$Configuration['EnabledLocales']['Dutch'] = 'nl-NL';
whilst this was not enabled in my dashboard. Removed it, enabled my Dutch locale from dashboard, and still no change. Locale is not working with the right definitions file.$LocaleInfo['Dutch']
and all the others.If I don't change
$'Locale' => 'en-CA',
to$'Locale' => 'nl',
my locale works fine. If I do, a fallback to the english vanilla locale takes place.Before I upload my locale I want to be sure it will work as it should. Can anyone point me in a direction?
$Configuration['Garden']['Locale'] = 'en-CA';
line in the config.php file.I just added this line (with my own locale code) to the config file and it seemed to work.
Why do I need to do this manually? It could be done after a user hits the "enable" button in the dashboard I guess? If another vanilla2 user wants to use my locale, will he also have to edit his config.php file?
Anyway, thanks for pointing me in the right direction