#4219 closed Bug (fixed)
Fallback mechanism needed for config.language
| Reported by: | Damian | 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 8 years ago by
| Owner: | set to Tobiasz Cudnik |
|---|---|
| Status: | new → assigned |
comment:2 Changed 8 years ago by
| Keywords: | Confirmed Review? added |
|---|
Changed 8 years ago by
| Attachment: | 4219.patch added |
|---|
Changed 8 years ago by
| Attachment: | 4219_2.patch added |
|---|
comment:3 Changed 8 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
Please include the changelog when commiting.
comment:4 Changed 8 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

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