Ticket #7753 (closed New Feature: wontfix)
Provide custom toolbar labels without modifying CKEDITOR.lang.toolbarGroupss
| Reported by: | damo | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Accessibility | Version: | 3.6 |
| Keywords: | IBM | Cc: | satya, tmonahan, jamescun |
Description
Including custom toolbar labels requires adding items to CKEDITOR.lang.toolbarGroups. It would be very useful if the toolbar definition could also accept other label names.
We'd like to use something like CKEDITOR.lang.something.toolbars instead. Then we'd provide the toolbar name in the definition as :
name : 'something.toolbars.label1' ....
If the name provided for the label doesn't match the CKEDITOR.lang.toolbargroups object, CKEditor would search the key from CKEDITOR.lang.
Change History
Note: See
TracTickets for help on using
tickets.

Such requirement of alias language entries is recommended to be done via the following way:
editor.on('pluginsLoaded', function(){ var lang = editor.lang; lang.toolbarGroups.something = lang.something.toolbars.label1; });