 |

gleert
New User
May 22, 2008, 9:15 AM
Post #1 of 13
(574 views)
Shortcut
|
|
Change Language TinyMCE
|
Can't Post
|
|
Hello, 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
|
|
|  |
 |

Dave
Staff
/ Moderator

May 22, 2008, 9:54 AM
Post #2 of 13
(570 views)
Shortcut
|
|
Re: [gleert] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Hi Geert, welcome to the CMS Builder forum! 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! :) Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

gleert
New User
May 22, 2008, 10:05 AM
Post #3 of 13
(575 views)
Shortcut
|
|
Re: [Dave] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Hi Dave, 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
|
|
Attachments:
|
TinyMCE.jpg
(11.8 KB)
|
|
|  |
 |

Dave
Staff
/ Moderator

May 22, 2008, 10:09 AM
Post #4 of 13
(570 views)
Shortcut
|
|
Re: [gleert] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
I'll have to do some research on this and see what's going on. I'll do that and post an update when I have some answers. Stay tuned. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Dave
Staff
/ Moderator

May 22, 2008, 5:08 PM
Post #5 of 13
(556 views)
Shortcut
|
|
Re: [Dave] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Ok, here's how to do it for anyone who wants to change the language of the wysiwyg (TinyMCE). 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. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

aev
User
May 23, 2008, 1:17 AM
Post #6 of 13
(551 views)
Shortcut
|
|
Re: [Dave] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Just a tought... 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-
|
|
|  |
 |

Dave
Staff
/ Moderator

May 23, 2008, 12:14 PM
Post #7 of 13
(542 views)
Shortcut
|
|
Re: [aev] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
aev, 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! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

aev
User
May 26, 2008, 12:36 AM
Post #8 of 13
(534 views)
Shortcut
|
|
Re: [Dave] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Great! Just one more thing... we would like to have Norwegian added to the list. -aev-
|
|
|  |
 |

Dave
Staff
/ Moderator

May 26, 2008, 9:16 AM
Post #9 of 13
(518 views)
Shortcut
|
|
Re: [aev] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
We can, looking at this page http://services.moxiecode.com/i18n/ I see two Norwegians: nb - Bokmål, Norwegian; Norwegian Bokmål nn - Norwegian Nynorsk; Nynorsk, Norwegian Which one would you like (or both)? Which is the main Norwegian? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

aev
User
May 26, 2008, 3:35 PM
Post #10 of 13
(509 views)
Shortcut
|
|
Re: [Dave] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Hi, "nb" is the main Norwegian. -aev-
|
|
|  |
 |

Dave
Staff
/ Moderator

May 26, 2008, 4:44 PM
Post #11 of 13
(503 views)
Shortcut
|
|
Re: [aev] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Ok, I've added it to the next version. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Jake
Staff
/ Moderator

Sep 24, 2008, 8:09 PM
Post #12 of 13
(161 views)
Shortcut
|
|
Re: [Dave] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Just an update for anyone looking to add another language to TinyMCE in the future: TinyMCE have changed the link to the language download page, so the one used in some versions of the software and in this thread is no longer valid. You'll want to visit this page to download your language files: http://tinymce.moxiecode.com/download_i18n.php ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Dave
Staff
/ Moderator

Sep 25, 2008, 9:26 AM
Post #13 of 13
(139 views)
Shortcut
|
|
Re: [Jake] Change Language TinyMCE
[In reply to]
|
Can't Post
|
|
Thanks for the heads up. This link is updated for the next release (v1.23). Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|