Change Language TinyMCE
18 posts by 5 authors in: Forums > CMS Builder
Last Post: December 18, 2008 (RSS)
By gleert - May 22, 2008
I have downloaded the Spanish languagefiles from TinyMCE and uploaded them to their coresponding folders. I just can't figure out how to get it working...
Hope somebody can help me!
Kind Regards,
Geert
Re: [gleert] Change Language TinyMCE
By Dave - May 22, 2008
This page on tinymce says you can change the language by adding language : "es", to the config.
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/language
In CMS Builder, this is in /lib/menus/default/edit_functions.php. So create a backup copy of that file and than edit and search for "tinyMCE.init" and add the text in red:
tinyMCE.init({
mode : "exact",
language : "es",
theme : "advanced",
Let me know if that works for you.
Hope that helps! :)
interactivetools.com
Re: [Dave] Change Language TinyMCE
By gleert - May 22, 2008
Thanx for your quick response! I have tried it, but it doesn't work. See the attached image to see the result...
Hope you can solve this for me.
Kind Regards,
Geert
Re: [gleert] Change Language TinyMCE
By Dave - May 22, 2008
interactivetools.com
Re: [Dave] Change Language TinyMCE
By Dave - May 22, 2008
Download your language file from this url: http://services.moxiecode.com/i18n/. 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, (and this is the step I missed the first time) 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 a new language.
interactivetools.com
Re: [Dave] Change Language TinyMCE
By aev - May 23, 2008
Maybe you could add this as a setting in the web admin interface?
Then we could change language simply be selecting from a drop down menu.
-aev-
Re: [aev] Change Language TinyMCE
By Dave - May 23, 2008
Sure, I've added that to the next version (v1.16 in development) under: "Admin > Regional Settings" and packaged these languages: English, Spanish, Dutch, and German.
Hope that helps!
interactivetools.com
Re: [Dave] Change Language TinyMCE
By aev - May 26, 2008
Just one more thing... we would like to have Norwegian added to the list. [:)]
-aev-
Re: [aev] Change Language TinyMCE
By Dave - May 26, 2008
nb - Bokmål, Norwegian; Norwegian Bokmål
nn - Norwegian Nynorsk; Nynorsk, Norwegian
Which one would you like (or both)? Which is the main Norwegian?
interactivetools.com