Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Nov 19, 2015 @ 12:49
    Kalle Ekstrand
    0

    How do I get TinyMCE to use other languages?

    Hello,

    I have been trying to get TinyMCE to use the swedish language file that is present in the language folder. Even If i have set the user to "Swedish" it still shows the "English" tooltips.

    Any ideas?

    //Kalle

  • Casper 59 posts 270 karma points
    Nov 19, 2015 @ 13:52
    Casper
    0

    Download the language file: http://www.tinymce.com/i18n/download.php?download=sv_SE

    Copy the lang file (sv_SE.js) to \umbraco\lib\tinymce\langs

    Open \Config\tinyMceConfig.config and locate <customConfig> section and add: <config key="language">sv_SE</config>

    There you go - swedish tooltips :)

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Nov 20, 2015 @ 09:41
    Kalle Ekstrand
    0

    Hello Casper.

    The swedish language files are already there by default.

    However, should´t this be selected automatically depending on the selected language on the user.

    If I change in the config file, all users including the ones with english will get tooltips in swedish...

    //kalle

  • Casper 59 posts 270 karma points
    Nov 21, 2015 @ 11:54
    Casper
    0

    It does not look like what you want is built into Umbraco - I could be wrong here.

    These files at least do not account for "Current Backend User" language : https://github.com/umbraco/Umbraco-CMS/search?utf8=%E2%9C%93&q=customConfig

Please Sign in or register to post replies

Write your reply to:

Draft