Author: rainman
Description:
Using two params "interface language" and "variant" in LanguageConverter is bad since:
- it confuses user settings, since user can set combinations like sr-ec for interface language, and sr-el for variant
- as currently implemented one always overrides the other to prevent interface in one variant, and text converted to some other (variant overrides language when applicable)
- the overriding behavior produces spaghetti code in various places
I think it would be a good idea to remove "variant" param altogether since all variants can be selected as interface languages, and just convert text to interface language when applicable (i.e. when interface language is one of the content language variants). This would however break some user settings and would need some possibly serious refactoring and testing.
Version: 1.13.x
Severity: enhancement