I’m using i18n in my plugin and have currently set 2 properties files for 2 langs (English and Polish).
What I want to accomplish is when a user has selected EN as preferred language in Jira, I want him to see EN language in my plugin as well (even when his system/browser language is PL).
Right now, even when I have selected EN lang in Jira as my preferred one, i18n in my plugin still serves me PL lang (probably because my system/browser language is set to PL).
Is there any way to set specific lang for i18n? I can check what language user has selected in Jira via UserPreferencesManager, but I don’t know how to provide this information to i18n.