Add support for multilingual countries (like Switzerland)
sun - April 11, 2008 - 21:59
| Project: | #translatable |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | sun |
| Status: | active |
Description
The current language detection and switching by hostname options are not sufficient for countries like Switzerland. In Switzerland there are three languages spoken, German, French and Italian.
ATM, I'm able to enter one hostname for each language. For all three languages the setting is already occupied - domain.de, domain.fr, and domain.it. I've no chance to setup the language for domain.ch.
We need to re-organize Translatable's settings:
- Add button to add a hostname (domain)
- For each hostname (domain) present a radio button list:
- Detect by browser locale
- German
- French
- Italian
For this purpose, configuration of hostnames has to be moved to a new tab "Hostnames".
Additionally, the "Switch by hostname" setting needs to check if all enabled languages have been assigned to hostnames. If not, that option cannot be enabled.
