mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.13k stars 234 forks source link

LanguageManager translation retrieval order #570

Closed mgarin closed 2 years ago

mgarin commented 4 years ago

Right LanguageManager doesn't properly work with multiple dictionaries that provide translation for the very same key. It doesn't cause any exceptions within LanguageManager, but there is no particular logic or order in which translation for specific key is retrieved in case there are multiple options across multiple dictionaries.

This is generally not a situation that should happen since all keys should preferably be unique, so it's certainly not a bug, but a possible future improvement for the translation system.