#2475: V3: Globalization
-----------------------------------+----------------------------------------
Reporter: fredck | Owner:
Type: New Feature | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version:
Keywords: Confirmed V3ProtoCore |
-----------------------------------+----------------------------------------
The Globalization support has been introduced into the CKEditor prototype
with [2365].
Just like FCKeditor, we try to guess the user language here, with a much
simpler code though. The language file will be then loaded just one for
all editor instances that share that same language.
For RTL languages, the theme sets the "dir" attribute of the outer element
that holds the editor to "rtl", and adds a class named "cke_rtl" to it. In
this way, it is possible to properly skin the editor for RTL.
Full language support has been added for plugins also. The "sourcearea"
plugin contains an example of it. Just for this review, I've not added
"en" support on the plugin, so you will note that the "Source" button will
be localized to "Codice Sorgente", its Italian version for it (which is
the default language of the plugin). Core plugins will have the language
entries into the core language file, so the sourcearea language entries
will be moved to the right place after this ticket review.
The list of languages supported by the plugin is available in the plugin
definition, so the end user is not required anymore to provide it. For the
plugins, the language file is also cached and reused by other editor
instances.
It is possible to pack the core and the plugins language files with the
packager, avoiding them to be downloaded from a different file. If the
user language is not present in the packaged version, it will be
downloaded from the lang folder, as usual.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2475>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac