[theme-reviewers] TinyMCE custom plugin localisation
Syahir Hakim
khairulsyahir at gmail.com
Tue May 10 00:30:53 UTC 2011
Hi everyone,
Does anyone know how to go about localising custom TinyMCE plugins
included with a theme? For plugins, this would be adding a 'langs'
folder in the same directory as the .js plugin file, and then adding the
[language-code].js file for any particular language inside that folder,
e.g "langs/en.js" or "langs/fr.js". But this doesn't seem to work the
same for themes. Only by adding a new tinyMCE.addI18n() call into the
/wp-includes/tinymce/langs/wp-langs-[language-code].js will the
translation work, but this obviously is not desirable, as it involves
directly editing WordPress core files.
Any ideas?
--
Regards,
Syahir Hakim
Contact:
http://www.khairul-syahir.com
+6421 0333 649
More information about the theme-reviewers
mailing list