Framework Message Translation located in separate files is not working

Hello.
Environment: Jmix 1.3.7-213, Multitenancy add-on.
Task: Translate the framework messages into another language by tutorial: Framework Translations :: Jmix Documentation
Problem: Placing the translation in separate files does not work. If the translation is placed in the main message localization file, everything works correctly.
Q: How to solve this problem?

I’d appreciate any help.
Yours sincerely, Alex.

Hi Alex,

Could you give an example of non-working localization file?

Hello Konstantin.
What did I do:

  • download repository jmix,
  • copy file …\jmix-translations\content\io\jmix\ui\messages_ru.properties to folder …\src\main\resources\io\jmix\ui*
  • renamed this file to messages_uk.properties
  • translated some messages into Ukrainian

After that ui applications should be displayed in Russian-Ukrainian language.
This did not happen, so I added the contents of this file to the …src\main\resources\com\company\nfp\messages_uk.properties and it worked.
Файл:
messages_uk.properties (43.3 KB)

Best regards, Alex

I think it’s my mistake. Today I did everything according to the instructions again. But from the idea interface. (Last time it was done through a file manager.) It worked. Sorry, this issue is solved.

1 Like

Good to hear it works now.
Actually, the use of IDE shouldn’t make any difference here. Let us know if you encounter the problem again.