After installing JabRef-2.10-b3 and switching language to Russian I see unreadable interface with symbols like this:
Âûïîëíÿåòñÿ îòêðûòèå
$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
OS: Gentoo/Linux
At source directory of JabRef:
src/resource $ enca Menu_*
Menu_da.properties: 7bit ASCII characters
Menu_de.properties: 7bit ASCII characters
Menu_en.properties: 7bit ASCII characters
Menu_es.properties: 7bit ASCII characters
Menu_fr.properties: 7bit ASCII characters
Menu_in.properties: 7bit ASCII characters
Menu_it.properties: 7bit ASCII characters
Menu_ja.properties: 7bit ASCII characters
Menu_nl.properties: 7bit ASCII characters
Menu_no.properties: 7bit ASCII characters
Menu_pt_BR.properties: 7bit ASCII characters
CRLF line terminators
Menu_ru.properties: MS-Windows code page 1251
LF line terminators
Menu_tr.properties: 7bit ASCII characters
Menu_vi.properties: 7bit ASCII characters
Menu_zh.properties: 7bit ASCII characters
src/resource $ enca JabRef_*
JabRef_da.properties: 7bit ASCII characters
JabRef_de.properties: 7bit ASCII characters
JabRef_en.properties: 7bit ASCII characters
JabRef_es.properties: 7bit ASCII characters
JabRef_fr.properties: 7bit ASCII characters
JabRef_in.properties: 7bit ASCII characters
JabRef_it.properties: 7bit ASCII characters
JabRef_ja.properties: 7bit ASCII characters
JabRef_nl.properties: 7bit ASCII characters
JabRef_no.properties: 7bit ASCII characters
JabRef_pt_BR.properties: 7bit ASCII characters
CRLF line terminators
JabRef_ru.properties: MS-Windows code page 1251
LF line terminators
JabRef_tr.properties: 7bit ASCII characters
JabRef_vi.properties: 7bit ASCII characters
JabRef_zh.properties: 7bit ASCII characters
src/resource $ enca IntegrityMessage*
IntegrityMessage_da.properties: 7bit ASCII characters
IntegrityMessage_de.properties: 7bit ASCII characters
IntegrityMessage_en.properties: 7bit ASCII characters
IntegrityMessage_es.properties: 7bit ASCII characters
IntegrityMessage_fr.properties: 7bit ASCII characters
IntegrityMessage_in.properties: 7bit ASCII characters
IntegrityMessage_it.properties: 7bit ASCII characters
IntegrityMessage_ja.properties: 7bit ASCII characters
IntegrityMessage_nl.properties: 7bit ASCII characters
IntegrityMessage_no.properties: 7bit ASCII characters
IntegrityMessage.properties: 7bit ASCII characters
IntegrityMessage_pt_BR.properties: 7bit ASCII characters
CRLF line terminators
IntegrityMessage_ru.properties: MS-Windows code page 1251
LF line terminators
IntegrityMessage_tr.properties: 7bit ASCII characters
IntegrityMessage_vi.properties: 7bit ASCII characters
IntegrityMessage_zh.properties: 7bit ASCII characters
You can see that only ru files have CP1251 encoding. I suppose that it is cause of this bug.
After this three commands and compile JabRef I can see normal russian symbols:
$ native2ascii -encoding CP1251 IntegrityMessage_ru.properties > 1 && mv 1 IntegrityMessage_ru.properties
$ native2ascii -encoding CP1251 JabRef_ru.properties > 1 && mv 1 JabRef_ru.properties
$ native2ascii -encoding CP1251 Menu_ru.properties > 1 && mv 1 Menu_ru.properties
Properties files have to be in ISO-8859-1 encoding. The russian translation is in CP1251. See http://stackoverflow.com/questions/4659929/how-to-use-utf-8-in-resource-properties-with-resourcebundle
EncodingControl subclass added into Globals to support other than ISO-8852-1 encodings in properties bundles and Russian property bundles encoding changed from CP1251 to UTF-8.
Victor, Jan!
Thank you for comments and attentiveness :)
L10n_RU updated
- recently added/changed strings translated;
- encoding issue fixed;
- minor review.
All files for Russian property bundle are now in UTF-8.
I'll upload them to JabRef repo in the next couple of days.
@contributors - Please, DO NOT change _ru property files encoding while adding/updating strings!
Cheers,
Vlad
Hello! I have the same problem - after installing JabRef-2.10-setup and switching language to Russian I see unreadable interface with symbols (see attached screenshot). Other programs do not have such problem.
My OS - Windows 7 Professional (Russian) SP 1.
Please help me to fix this bug.
The new development version now seems to handle Russian correctly. If now post here again and/or open a new bug report.
Yes , the new version works correctly! Thank you so much!