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.
Changing locale
I assumed that the 'Locale' configuration setting was used for HTML and HTTP locale information. I changed that local configuration in config.php
but it appears that 'en-CA' is still being used, for example in the HTML element
Is en-CA hardcoded?
$Configuration['Garden']['Locale'] = 'en-US';
but it appears that 'en-CA' is still being used, for example in the HTML element
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
Is en-CA hardcoded?
Tagged:
0
Comments
For instance, default view in
applications/dashboard/views/default.master.php
got
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
hardcoded.The view can be redefined, but indeed, I think it would be better to use the locale variable.
Another interesting localization feature would be if there was a base language locale which provided a common base for the language, and than specific overrides for the region. That way there would be less work to localize. For example, en-US, en-CA, en-GB might share a common 'en' locale, but each can override differences.