Uzbek locale issue: DOI and keywords (‘kalit so‘zlar’) share the same string key in OJS

Hello,

I have encountered an issue with the Uzbek locale in OJS. While checking the labels for DOI and kalit so‘zlar (keywords), I noticed that both are linked to the same string key in the Uzbek translation file. Because of this, if I change the string to “DOI”, the label for keywords also changes to “DOI”, and vice versa.

From my comparison between OJS 3.3 and 3.4 (see attached screenshots), this behavior seems consistent: the two labels are merged into a single translation string, rather than being defined separately.

My question is:

  • Is this a known issue with the Uzbek locale files in OJS?

  • If so, what would be the best way to separate these two labels, so that “DOI” and “kalit so‘zlar” can be displayed independently?

  • Should this be fixed by manually editing the locale XML file, or by requesting an update in the official translation files?

Thank you in advance for your guidance.

Hi @nuraly.javliev !

I’ve been investigating this issue - I’m not sure which .po file you’re looking at, but the semicolon key should have the value {$label}:, as seen here: pkp-lib/locale/en/common.po at stable-3_5_0 · pkp/pkp-lib · GitHub

I wasn’t able to find this error in the Uzbek locale files packaged with our software, so I’m not sure about your other questions.

Thanks a lot I just replaced semicolon {$label}: as you adviced, and the issue is solved. It seems everything is working correct.