Ticket #5013 (closed New Feature: wontfix)

Opened 4 years ago

Last modified 4 years ago

Need a way for CKEditor to configure name format of language files

Reported by: damo Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: IBM Cc:

Description

Could we provide a configuration parameter for language files so that we can add a prefix to the file when searching for a language file.

So instead of loading: <locale>.js we would load a/b/myfile_<locale>.js

Perhaps the language loader could have a config option to use a prefix for finding files.

E.g.

config.langFilePrefix="myfile_";

Then the editor would look for each language file with the prefix in the language folder e.g. ckeditor/lang/myfile_en.js

Change History

comment:1 Changed 4 years ago by fredck

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone CKEditor 3.2 deleted

This need may not be specific to language files. We may have the same for plugins, skins, etc. There may be also cases when people wants to suffix the file names, or even change their extension. So, a specific setting for language file prefix is certainly not enough.

Fortunately we kept these kinds of needs in mind, and CKEditor already provides ways to manipulate the URLs used by it. I've just documented this feature.

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