Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#9530 closed Bug (fixed)

The "uilanguages.html" sample could use a real list of available languages

Reported by: Wiktor Walc Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: CKEditor 4.0
Component: General Version: 4.0
Keywords: Cc:

Description

Right now it is using window.CKEDITOR_LANGS taken from assets/uilanguages/languages.js.

The problem is that CKEDITOR.lang.languages may contain a very little subset of window.CKEDITOR_LANGS, e.g. it can be set only to { de : 1, en : 1, fr : 1 } in a custom build, where user selected just a few languages.

Change History (5)

comment:1 Changed 7 years ago by Jakub Ś

Status: newconfirmed

Without this, uilanguages sample will probably throw JS error if user selects non existing language.

comment:2 Changed 7 years ago by Jakub Ś

Version: 4.0 (GitHub - master)

comment:3 Changed 7 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 4.0
Owner: set to Frederico Caldeira Knabben
Status: confirmedreview
Type: New FeatureBug

Created t/9530 for this.

comment:4 Changed 7 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: reviewclosed

Fixed with 40ad210.

comment:5 Changed 7 years ago by Frederico Caldeira Knabben

A related issue is here: #9595.

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