[Tickets #10457] Auto-detect locale support
bugs at horde.org
bugs at horde.org
Fri Aug 26 09:40:38 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10457
------------------------------------------------------------------------------
Ticket | 10457
Created By | Gunnar Wrobel <wrobel at pardus.de>
Summary | Auto-detect locale support
Queue | Horde Base
Version | Git master
Type | Enhancement
State | New
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Gunnar Wrobel <wrobel at pardus.de> (2011-08-26 09:40) wrote:
Horde 4 requires UTF-8 locales for the supported translations.
Detecting the locales present is possible.
So we should:
1) Add a test for this in test.php so that the admin immediately sees
which translations/charsets are actually available. This test should
fail if there is no UTF-8 support in any locale.
2) We should disable the language selection on the login screen for
languages not supported by the system.
3) We probably need an FAQ entry immediately then, to explain why some
translations do not show up in the drop down list.
I briefly looked at the code to determine how this could be
implemented. The main question I still had was how to cache the
supported languages system wide within Horde_Core_Registry_Nlsconfig.
But there is already a isValid($lang) method there that should allow
to quickly add the required test infrastructure.
More information about the bugs
mailing list