How to integrate localized version of TinyMCE
LFS ships with main package of TinyMCE that doesn't contain any translation files. It is easy to use internationalized version of TinyMCE by adding few things into your theme.
Go to TinyMCE website and download TinyMCE x.x jQuery package
Extract TinyMCE into your theme
Extract downloaded TinyMCE into your :doc:`Theme </developer/howtos/theme/index>`, e.g. theme/static/manage/tiny_mce_x_x/
Download TinyMCE language file(s)
Go to TinyMCE website and download language file(s) that you need
Extract TinyMCE language files into your theme
Go to folder where you've just extracted main package of TinyMCE, e.g.: theme/static/manage/tiny_mce_x_x/ and extract language files into proper directories.
Copy manage_base.html to your theme
Copy lfs/templates/manage/manage_base.html to your theme: mytheme/templates/manage/manage_base.html
Copy lfs_tinymce.js to your theme
Copy lfs/static/js/lfs_tinymce.js to your theme: mytheme/static/js/lfs_tinymce.js (if you use different path then you have to update it at manage_base.html in step 7)
Modify lfs_tinymce.js (copy located at your theme)
Change/add highlighted parts of TinyMCE initialization script:
Customize manage_base.html at your theme
with (use path to TinyMCE folder that you created in step 2):
Add following code to <head> section:
Note that for some languages LANGUAGE_CODE used by Django may differ from language code used by TinyMCE. For such cases you'll probably have to write your own tag/filter that will map Django's language code to TinyMCE's language code (or you'll just hard code it).