The simpler media website CMS
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
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.
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.
Yes, we had figured out the same already but have not yet committed the fix.
The fix is up.
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.
It really helps to read release posts ;-)
True, I missed this info :
tinymce: Long overdue update to TinyMCE 7+ [acrylian, bic, fretzl]
And I changed the skin by editing the file zenphoto-full.js.php :
tinymce.init({
skin: "oxide-dark",
content_css: "dark",
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
Glad we could fix it with your help.