Opened 15 years ago

Closed 15 years ago

#5229 closed Bug (invalid)

Accessibility help dialog does not support all CKEditor supported languages

Reported by: Damian Owned by:
Priority: Must have (possibly next milestone) Milestone: CKEditor 3.2
Component: General Version:
Keywords: IBM Cc:

Description

The Accessibility help dialog does not provide a way to configure different translations.

All CKEditor supported languages should be in availableLangs.

Currently only 'en' is supported

availableLangs : { en:1 }

Change History (1)

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

The fact is that there are no language files available other than the English file.

Usually the plugin itself defines the languages it has, because the language files are shipped with it. So, when adding new languages, it's enough to change the plugin code, specifying the new languages supported.

It's quite unusual to have languages added to plugins without changing their code, but I understand this may be needed, specially in the a11help plugin case. The solution for it is manually registering the new language files. The following example shows how to do that:

CKEDITOR.on( 'a11yhelpPluginReady', function( ev )
    {
        var pluginDefinition = ev.data,
            langs = pluginDefinition.availableLangs;

        langs['de'] = 1;
        langs['fr'] = 1;
});
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