Opened 7 years ago

Last modified 7 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 Changed 7 years ago by Frederico Caldeira Knabben

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.

comment:2 Changed 7 years ago by Frederico Caldeira Knabben

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 7 years ago by Jakub Ś

Status: newconfirmed

comment:4 in reply to:  1 Changed 7 years ago by Alfonso Martínez de Lizarrondo

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy