Member
Member
hermor   08-11-2024, 09:55
#1

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

Administrator
Administrator
acrylian   08-11-2024, 10:13
#2

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…

Member
Member
hermor   08-11-2024, 10:35
#3

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.

Administrator
Administrator
acrylian   08-11-2024, 10:44
#4

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.

Member
Member
sbillard   09-11-2024, 00:37
#5

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

Member
Member
sbillard   09-11-2024, 01:41
#6

Delete the replace, that is.

Administrator
Administrator
acrylian   09-11-2024, 10:33
#7

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

Administrator
Administrator
fretzl   09-11-2024, 10:53
#8

The fix is up.

Member
Member
ctdlg   09-11-2024, 18:47
#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.

Administrator
Administrator
acrylian   09-11-2024, 18:53
#10

It really helps to read release posts ;-)

Member
Member
ctdlg   09-11-2024, 19:23
#11

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.
Member
Member
ctdlg   09-11-2024, 19:41
#12

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

Member
Member
ctdlg   09-11-2024, 20:42
#13

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

Member
Member
hermor   11-11-2024, 17:46
#14

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

Administrator
Administrator
acrylian   11-11-2024, 20:04
#15

Glad we could fix it with your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.