You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I installed Czech language in PF and set Czech language (cs) in Firefox browser but only en_US lang works.
To Reproduce
Install cz language PO file from Transifex as described in the PF development guide.
Add the lang cs_CZ in files /usr/local/pf/Makefile, /usr/local/pf/html/pfappserver/root/src/globals/pfLocales.js, /usr/local/pf/lib/pf/web/constants.pm, /usr/local/pf/conf/documentation.conf.
Expected behavior
My browser language set: 1. cs, 2. en_US, PF language result set 1. en_US, 2. cs_CZ. PF evaluated general browser lang cs as closest lang cs_CZ with lower priority than exact lang en_US. This result set is better: 1. cs_CZ, 2. en_US with preserved priority. Czech language hasn't any variant and there is only cs language in Firefox. I made a patch - in attachment.
Describe the bug
I installed Czech language in PF and set Czech language (cs) in Firefox browser but only en_US lang works.
To Reproduce
Expected behavior
My browser language set: 1. cs, 2. en_US, PF language result set 1. en_US, 2. cs_CZ. PF evaluated general browser lang cs as closest lang cs_CZ with lower priority than exact lang en_US. This result set is better: 1. cs_CZ, 2. en_US with preserved priority. Czech language hasn't any variant and there is only cs language in Firefox. I made a patch - in attachment.
lang.patch.txt
PF:
Desktop (please complete the following information):
Thanks
Martin
The text was updated successfully, but these errors were encountered: