CHANGING LANGUAGES IN THE TINYMCE EDITOR (FOR CMSB VERSIONS PRIOR TO 1.16) - Aug 6th, 2010
|
When Gleert wanted to know how to change the language displayed in the TinyMCE WYSIWYG editor used in CMSB, Dave came to the rescue. He said:
Download your language file from this url: http://tinymce.moxiecode.com/download_i18n.php. Check the checkbox and then click download. Don't download the XML file, that won't work. Next, unzip the file you download to the /tinymce3/ folder. Next, create a backup and then edit /lib/menus/default/edit_functions.php. Search for "tinyMCE.init" and add the text in red. Be sure to use your language code, not just "es" unless it's Spanish.
tinyMCE.init({ mode : "exact", language : "es", theme : "advanced",
Finally, backup and edit this file /lib/menus/default/edit.php, search for "languages" and change the language code in red:
themes : 'advanced', languages : 'es', disk_cache : true,
Then reload (and clear your browser cache if needed) and the WYSIWYG should be in the new language.
Thanks Dave, as always...
|
The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact
Interactive Tools for information on the downloading of the software or the purchasing of licenses.