French language file not working in Tinymce plugin

hermor Member
edited November 8 in General support

Hello
I discovered a small problem in the application of the tinymce plugin. The translation into the French language is not applied. I solved the problem by deleting line 121 of the tinymce.php file. This line replaces _ with - in the $loc variable to refer to the js language file included in the plugin, which is not justified for language files with two parts such as fr_FR or others for example. This replacement must date from an old version of the language files and is no longer applicable.
Thank you for the latest update 1.6.5
Best regards

Comments

  • acrylian Administrator, Developer

    Thanks, it seems that the tinymce language files sadly use a different naming convention than we do… We probably have to create a internal catalogue to translate/match these these…

  • Thanks for this very quick response.
    I don't think so, it's consistent because the language option (locale) set is also fr_FR, option chosen at the time of installation.

  • acrylian Administrator, Developer

    Indeed, you are right. Then it might be an issue with the lang file from TinyMCE. If French otherwise work so your server supports it it must be an issue with the TinyMCE lang file we cannot do much about.

  • @hermor:
    Your first analysis is correct. Delete that line in tinymce.php and the languages should work. They do for me.

  • Delete the replace, that is.

  • acrylian Administrator, Developer

    Yes, we had figured out the same already but have not yet committed the fix.

  • fretzl Administrator, Developer

    The fix is up.

  • ctdlg Member
    edited November 9

    Why are there 2 tinymce folders : tinymce and tinymce4 ?
    And of course tinymce.php and tinymce4.php corresponding files !

    Sorry, I found the difference : tinymce 4 or tinymce 7 !

    How to replace the default white theme ? I can find 2 skins : content and ui.

  • acrylian Administrator, Developer

    It really helps to read release posts ;-)

  • ctdlg Member

    True, I missed this info :

    tinymce: Long overdue update to TinyMCE 7+ [acrylian, bic, fretzl]

    This is the successor of the tinymce4 plugin which will be removed with the next version. NOTE: If you have used custom configs for tinymce4 you may have to re-create them as a number of former TinyMCE plugins are gone and some options have changed that may cause trouble in the future.
    The number of default config files has been reduced to slilm, basic and full.
    
  • ctdlg Member

    And I changed the skin by editing the file zenphoto-full.js.php :
    tinymce.init({
    skin: "oxide-dark",
    content_css: "dark",

  • ctdlg Member

    Thank you for the language fix, my editor is now in French.

  • I'm glad to see that my suggestion was taken into account. For me it's easier to work in the language of Molière

  • acrylian Administrator, Developer
    edited November 11

    Glad we could fix it with your help.

Sign In or Register to comment.