How can i change language or theme for TinyMCE using this module???
I haven't found any info about such issue neither here no at http://wiki.moxiecode.com.+

Comments

fleetcommand’s picture

Component: Code » Miscellaneous
Priority: Critical » Normal

First you will need a language pack for TinyMCE. Download it from http://services.moxiecode.com/i18n/ then extract it into your TinyMCE tree to the appropriate place.

Then you need to edit the TinyMCE init script at /admin/settings/tinytinymce .. Add the language to it like this:
language : "hu",
where put the language code instead of "hu"

The default TinyMCE installation includes two themes.. The simple and advanced. If you use advanced theme, you will have two skins. the "default" and "o2k7". This also should be specified through the init script:
skin : "o2k7",

Have fun.

Steve Lockwood’s picture

Thanks again, Fleetcommand. I have put your notes into INSTALL.TXT (with an acknowledgement, of course) to go into a future release.

Steve

DeathClaw’s picture

Thanks, thats answer exactly what i needed ;)

Steve Lockwood’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

AntonBreusov’s picture

I'm using following code for init script:

var tinyMce_lang = document.documentElement.lang.substr(0, 2);
if (typeof tinyMce_lang != "string" || tinyMce_lang == "")
   tinyMce_lang = "en";

tinyMCE.init({
   language: tinyMce_lang,
...