localization icon indicating copy to clipboard operation
localization copied to clipboard

Translations no longer work with upgrade from `2.1.0` -> `2.1.1`

Open Tandashi opened this issue 2 years ago • 3 comments

With the update from version 2.1.0 to 2.1.1 the translations stopped working and only display the first segment of the translation key which broke our production code. Our quick fix currently is explicitly use 2.1.0.

Files for a minimal example: minimal-example.zip

My assumption: With the change in implementation of LocalizationService.instance.read the translation broke IF the translation key contains dots due to the split that occurs now. However I don't see anywhere in the README.md that explicitly mentions that you shouldn't use dots to split your translation keys into segments for better structuring.

Is it intended that one shouldn't use dots to split the translation key? And if so it should probably be stated in the README.md what the best practices and pitfalls are.

Tandashi avatar Nov 17 '23 09:11 Tandashi

I also had this problem.

charcoast avatar Dec 16 '23 14:12 charcoast

Same issue here.

digibum avatar Jan 18 '24 08:01 digibum

Same here.

leonardogbr avatar Feb 21 '24 11:02 leonardogbr