Opened 12 years ago
Closed 12 years ago
#9232 closed Bug (fixed)
_languages.js should be removed from core (?)
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0 |
Component: | UI : Language | Version: | 4.0 |
Keywords: | Cc: |
Description
The list of languages available in the editor core is specified in core/lang.js
.
If I'm correct, the mentioned file (_languages.js
) is used only by the ui_languages.html
sample. The problem is that there is no such sample file in V4, besides if its only for demonstration purposes, it should not be somewhere in core.
How about using a different apporach when creating a similar ui_languages sample file?
- gather the list of available languages from
CKEDITOR.lang.languages
- have a map "country code -> country name" defined directly in the ui_languages sample. It can even include names of countries for which we do not have a translation yet.
Change History (3)
comment:1 Changed 12 years ago by
Reporter: | changed from Piotrek Koszuliński to Wiktor Walc |
---|
comment:2 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:3 Changed 12 years ago by
Component: | General → UI : Language |
---|---|
Resolution: | → fixed |
Status: | confirmed → closed |
I liked the idea of moving it directly into the sample file.