Upgraded Cuba-Platform to 6.10.7. Now, translation doesn’t work. All messages file remains there, but all messages are shown in english. What should I do?
Previous Version 6.10.6
It’s very strange. I can see all files with the correct translation, but buttons and some other messages apears in english on screen…
In this case it is more strange than it can be, because bug fix releases don’t include any major changes. Moreover there is no any changes included into 6.10.7 release that are related to localization.
Could you share some sample project that contains your localization?
Regards,
Daniil.
Made a Test project.
Added a second language at Project properties (Studio).
Copied all translation files from github.
On App Start, I selected the second language.
Some messages and captions are translated. but all button captions are shown in english
With the same files, my App works a week ago.
Test-Translation.zip (174.3 KB)
Thank you for the project.
So the problem is that you’ve copied few localization bundles into gui folder (located modules in root project directory), but the project doesn’t have the gui module.
In this case localization files should be placed inside of web module. It is described in README in cuba-platform/translations (under third bullet).
The final location of localization bundles:

And as a result:

Regards,
Daniil
Thanks for your reply.
Copied the same folder as your post and works for my Test project.
But when I do that to my production project, then again the same issue. My project has a GUI folder, anyway I copied the GUI messages folder to WEB.BPM, WEB.CUBA and WEB.REPORTS module too.
I deleted all messages files and copied them again from github.
I tested even with german messages… every time the same issue. Although there are some messages wich works (some Help menu or Administration menu items are translated, others not). Weird.
I did 40 or 50 tests. Actually I spent the whole day. Sometimes the translation appears, but when I modify some message, or just in any restart, the issue returns.
My Customer is upset and I really don’t know what more can I do.




The issue suddenly is solved. I’m really sorry because can’t say what I did to solve it. Desperate, I did tons of things. But seems it was a properties file name issue with main messages files of app. Nothing to do with translation files.