X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_samples%2Fui_languages.html;fp=_samples%2Fui_languages.html;h=0000000000000000000000000000000000000000;hb=4625dba05116026713fee9008dd93306be0d1553;hp=90b867578dc16fa61dd30ab6190b1d8e7dcf8740;hpb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;p=ckeditor.git diff --git a/_samples/ui_languages.html b/_samples/ui_languages.html deleted file mode 100644 index 90b8675..0000000 --- a/_samples/ui_languages.html +++ /dev/null @@ -1,134 +0,0 @@ - - - -
-
- This sample shows how to automatically replace <textarea>
elements
- with a CKEditor instance with an option to change the language of its user interface.
-
- It pulls the language list from CKEditor _languages.js
file that contains the list of supported languages and creates
- a drop-down list that lets the user change the UI language.
-
- By default, CKEditor automatically localizes the editor to the language of the user.
- The UI language can be controlled with two configuration options:
-
- language
and
- defaultLanguage
. The defaultLanguage
setting specifies the
- default CKEditor language to be used when a localization suitable for user's settings is not available.
-
- To specify the user interface language that will be used no matter what language is
- specified in user's browser or operating system, set the language
property:
-
CKEDITOR.replace( 'textarea_id', - { - // Load the German interface. - language: 'de' - });-
- Note that textarea_id
in the code above is the id
attribute of
- the <textarea>
element to be replaced.
-