indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: User Interface Globalization — CKEditor Sample indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0: CKEditor Samples » User Interface Languages indvd00m@0:

indvd00m@0:
indvd00m@0: This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. indvd00m@0:
indvd00m@0:
indvd00m@0:

indvd00m@0: This sample shows how to automatically replace <textarea> elements indvd00m@0: with a CKEditor instance with an option to change the language of its user interface. indvd00m@0:

indvd00m@0:

indvd00m@0: It pulls the language list from CKEditor _languages.js file that contains the list of supported languages and creates indvd00m@0: a drop-down list that lets the user change the UI language. indvd00m@0:

indvd00m@0:

indvd00m@0: By default, CKEditor automatically localizes the editor to the language of the user. indvd00m@0: The UI language can be controlled with two configuration options: indvd00m@0: language and indvd00m@0: indvd00m@0: defaultLanguage. The defaultLanguage setting specifies the indvd00m@0: default CKEditor language to be used when a localization suitable for user's settings is not available. indvd00m@0:

indvd00m@0:

indvd00m@0: To specify the user interface language that will be used no matter what language is indvd00m@0: specified in user's browser or operating system, set the language property: indvd00m@0:

indvd00m@0:
indvd00m@0: CKEDITOR.replace( 'textarea_id', {
indvd00m@0: 	// Load the German interface.
indvd00m@0: 	language: 'de'
indvd00m@0: });
indvd00m@0:

indvd00m@0: Note that textarea_id in the code above is the id attribute of indvd00m@0: the <textarea> element to be replaced. indvd00m@0:

indvd00m@0:
indvd00m@0:
indvd00m@0:

indvd00m@0: Available languages ( languages!):
indvd00m@0: indvd00m@0:
indvd00m@0: indvd00m@0: (You may see strange characters if your system does not support the selected language) indvd00m@0: indvd00m@0:

indvd00m@0:

indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0:
indvd00m@0: indvd00m@0: indvd00m@0: