| Summary | Auto-detect locale support |
| Queue | Horde Base |
| Queue Version | Git master |
| Type | Enhancement |
| State | New |
| Priority | 1. Low |
| Owners | |
| Requester | Gunnar Wrobel <wrobel (at) horde (dot) org> |
| Created | 08/26/2011 (664 days ago) |
| Due | |
| Updated | |
| Assigned | |
| Resolved | |
| Attachments | |
| Milestone | |
| Patch | No |
State ⇒ New
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ Auto-detect locale support
Type ⇒ Enhancement
Priority ⇒ 1. Low
Patch ⇒ No
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.