#4219 closed Bug (fixed)
Fallback mechanism needed for config.language
| Reported by: | damo | Owned by: | tobiasz.cudnik |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.1 |
| Component: | General | Version: | |
| Keywords: | IBM Confirmed Review+ | Cc: |
Description
A typical use case for setting the language of the editor is to use the browser's preferred setting on the request. Sometimes the value of the language may be incompatible with the supported languages because a different country code is used. E.g. "en-ie".
When an incompatible language is set via config.language the editor should use the same mechanism it does for auto-detected languages and attempt to match the language to a compatible one by stripping out the country code.
Attachments (2)
Change History (7)
comment:1 Changed 7 years ago by tobiasz.cudnik
- Owner set to tobiasz.cudnik
- Status changed from new to assigned
comment:2 Changed 7 years ago by tobiasz.cudnik
- Keywords Confirmed Review? added
Changed 7 years ago by tobiasz.cudnik
Changed 7 years ago by tobiasz.cudnik
comment:3 Changed 7 years ago by garry.yao
- Keywords Review+ added; Review? removed
Please include the changelog when commiting.
comment:4 Changed 7 years ago by tobiasz.cudnik
- Resolution set to fixed
- Status changed from assigned to closed
comment:5 Changed 7 years ago by fredck
Note: See
TracTickets for help on using
tickets.

TC is already available in _tests/tt/4219/4219.html.