I upgraded my web application to use the latest TinyMCE version 4.0.1. My application is internationalized, so I also updated the language packs.
Everything seems to work correctly and is translated, except for the font selection dropdownlists (fontselect, fontsizeselect, formatselect).
They display: "Font Family", "Font Sizes" and "Paragraph" regardless of the language I initalize TinyMCE with.
This is the init code:
<script type="text/javascript">
$(document).ready(function () {
tinymce.init({
selector: "textarea.tinyMCE",
skin: "lightgray",
language: "<%= System.Globalization.CultureInfo.CurrentUICulture.TwoLetterISOLanguageName %>",
plugins: "table,textcolor,link,image,code",
theme: "modern",
menubar: false,
toolbar1: "fontselect,fontsizeselect,formatselect,|,forecolor,backcolor,|,cut,copy,paste",
toolbar2: "bold,italic,underline,|,alignleft,aligncenter,alignright,alignjustify,|,bullist,numlist,|,removeformat,|,undo,redo",
toolbar3: "link,unlink,|,image,|,hr,|,code",
width: 640,
height: 320,
media_strict: false,
forced_root_block: false
});
});
</script>
What am I missing?