--- /dev/null
+Adding a language
+======================
+1. Download the language pack from [TinyMCE][1]
+2. Extract the files from the zip file.
+3. Copy the langs, plugins, and themes directories into mod/tinymce/vendor/tinymce/jscripts/tiny_mce/.
+There are already directories with those names. You do not want to delete those directories.
+Instead, copy the new directories on top of the old ones.
+4. Flush the Elgg caches.
+
+[1]: http://www.tinymce.com/i18n/index.php?ctrl=lang&act=download "TinyMCE"
$message = elgg_echo('tinymce:lang_notice', array(
elgg_echo(elgg_get_config('language')),
"http://www.tinymce.com/i18n/index.php?ctrl=lang&act=download",
- elgg_get_plugins_path() . "tinymce/vendor/tinymce/jscripts/tiny_mce",
+ elgg_get_plugins_path() . "tinymce/vendor/tinymce/jscripts/tiny_mce/",
elgg_add_action_tokens_to_url(elgg_normalize_url('action/admin/site/flush_cache')),
));
elgg_add_admin_notice('tinymce_admin_notice_no_lang', $message);
'tinymce:remove' => "Remove editor",
'tinymce:add' => "Add editor",
'tinymce:word_count' => 'Word count: ',
- 'tinymce:lang_notice' => "Your site language is %s but it isn't installed for TinyMCE. Get it <a target=\"_blank\" href=\"%s\">here</a> and copy it in %s path. Then, <a href=\"%s\">flush the caches</a>.",
+ 'tinymce:lang_notice' => "Your site language is %s but it isn't installed for TinyMCE. Get it <a target=\"_blank\" href=\"%s\">here</a> and copy it to %s. Then, <a href=\"%s\">flush the caches</a>. See the TinyMCE README for more details.",
);
add_translation("en", $english);