igniterealtime / openfire-search-plugin

Adds Jabber Search (XEP-0055) capabilities to Openfire
Apache License 2.0
3 stars 8 forks source link

Not using language set in Admin Console #1

Open wrooot opened 5 years ago

wrooot commented 5 years ago

https://discourse.igniterealtime.org/t/4-3-0-and-search-plugin-problem/83855

User reports that Search plugin is not using the main language set in Admin Console and instead looks into system's locale and tries to use an according language file. E.g. if a user has set English as his main Admin Console language, but has Russian as his region in OS, then plugin shows Russian translation for menus. This is not consistent with how other plugins operate.

wrooot commented 5 years ago

Related to https://github.com/igniterealtime/openfire-monitoring-plugin/issues/6

guusdk commented 5 years ago

I can't reproduce this with Openfire 4.5.0-SNAPSHOT, Search plugin 1.7.3 on my English Ubuntu. I tried switching to Russian, which gave me a plugin that was translated properly (with the exception of the search fields, which are dynamically determined):

image