Opened 12 years ago
Last modified 12 years ago
#9595 confirmed Bug
Builder must define CKEDITOR.lang.languages
Reported by: | Frederico Caldeira Knabben | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
Considering that it is possible to have the languages configured during the build process, the builder should defined CKEDITOR.lang.languages, which is now hardcoded inside lang.js.
Change History (4)
comment:1 follow-up: 4 Changed 12 years ago by
comment:2 Changed 12 years ago by
Milestone: | CKEditor 4.0 |
---|
Right now, it is not possible to define the list of languages with the command line builder. We can provide this feature in the future.
Currently, the online builder will offer the possibility to define the list of languages. So, the builder must handle this properly and it is already (in our internal code) defining CKEDITOR.lang.languages.
So, for now, there is no urgency on this feature.
comment:3 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:4 Changed 12 years ago by
Replying to fredck:
It seems to be enough to add
CKEDITOR.lang.languages={...
} at the end of ckeditor.js, removing the line from lang.js.Of course, testing will confirm that this idea is correct.
IIRC, basically that's what I did to create a CKEditor built with just one language by inserting an extra .js file with that line (as well as the language file itself), so yes it works.
It seems to be enough to add
CKEDITOR.lang.languages={...
} at the end of ckeditor.js, removing the line from lang.js.Of course, testing will confirm that this idea is correct.