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 Piotrek Koszuliński

Reporter: changed from Piotrek Koszuliński to Wiktor Walc

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

Status: newconfirmed

I liked the idea of moving it directly into the sample file.

comment:3 Changed 12 years ago by Garry Yao

Component: GeneralUI : Language
Resolution: fixed
Status: confirmedclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy