[wp-hackers] Language support for TinyMCE

Andy Skelton skeltoac at gmail.com
Thu Feb 16 21:25:47 GMT 2006


On 2/16/06, Kirk Steffensen <blogger at steffensenfamily.com> wrote:
> I propose changing the following code in tiny_mce_gzip.php to allow loading
> TinyMCE lang files, if they exist.  The code change finds WP's locale setting
> (xx), and then checks to see if there are corresponding xx.js files for core
> TinyMCE, the active TinyMCE theme, and any plugins.  If there are not
> corresponding xx.js files, then the default en.js file is loaded.  After that,
> the the wp_translate_tinymce_lang function is still called.

Looks great to me!

Andy


More information about the wp-hackers mailing list