Opened 12 years ago
Last modified 12 years ago
#10290 confirmed Bug
Language code with locale handling
Reported by: | giammin | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1 |
Keywords: | language | Cc: |
Description
ckeditor does not handle language code as 'it-IT' or 'en-US', 'en-GB' etc etc
it should fall back to 'it', 'en' or whatever instead it does not recognize these language coeds
Attachments (2)
Change History (13)
comment:1 Changed 12 years ago by
Summary: | Language code → Language code with locale handling |
---|
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
are you sure?
in my test both normal editor and inline editor do not change ui language if it is set as 'it-IT' but only if it is set as 'it'
comment:4 Changed 12 years ago by
- Which browser have you checked?
- How do you set language?
- What's your CKEditor version (number and build - included plugins, languages, etc)?
It would be the best if you could attach a sample (zip package) with your CKEditor package and sample proving the issue.
I'm 100% sure that this setting works on master and latest version of CKEditor (4.1) on Chrome and Firefox.
comment:5 Changed 12 years ago by
tested on chrome: last version
ckeditor version 4.1 last version available from there: http://ckeditor.com/download i have included the ckbuilder config
i think that problem raises when there are more ckeditor instances
thanks!
comment:6 Changed 12 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Changed 12 years ago by
Attachment: | 10290.html added |
---|
comment:7 Changed 12 years ago by
Status: | reopened → confirmed |
---|
Ok. I was able to confirm this issue - you are right that it occurs when there's more than one editor on a page.
comment:8 follow-up: 9 Changed 12 years ago by
Note that the easy fix is to use short language names, without locale.
comment:9 Changed 12 years ago by
Replying to Reinmar:
Note that the easy fix is to use short language names, without locale.
Yes, thanks i know about this fix.
comment:11 Changed 12 years ago by
Nope - none. We're focused on 4.2 right now, but this issue is not considered to be included. It has a simple workaround so it is not a high priority for us now.
Editor does correctly recognise language based on even if language code is set as 'it-IT', 'en-GB', etc.
E.g. this will work:
Do I miss something?