2

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?

4

1 回答 1

1

某些领域的翻译似乎不完整,您可以直接在他们的翻译服务上提供更正的翻译: https ://www.transifex.com/projects/p/tinymce/

或为您的语言手动编辑语言文件 .js。

于 2013-07-08T10:41:36.860 回答