[PHPCR-88] locales mapping for language fallback: do not repeat language Created: 01/Feb/13 Updated: 18/Apr/13 Resolved: 18/Apr/13 |
|
| Status: | Closed |
| Project: | Doctrine PHPCR |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | David Buchmann | Assignee: | Lukas Kahwe |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
currently the language fallback is defined like this locales: the first option must be the requested language. this is counterintuitive and error prone. saying "en: [de]" would make english always only try german. we should add the locale itself as first locale i think, i see no use case of defining fallbacks where the requested locale is not the one to be preferred. |