YACReader / yacreader

This repo contains the code of YACReader's desktop version.
https://www.yacreader.com
GNU General Public License v3.0
974 stars 95 forks source link

Russian interface language does not work in 9.6.2 #90

Open NEONZARIN opened 5 years ago

NEONZARIN commented 5 years ago

The program starts and runs only in English interface language. Program version 9.6.0 - 9.6.2

I don’t know about other languages, in my windows 7x64 only Russian and English language packs are installed.

In version 9.5.0, such a bug is not observed. After installation and launch, the program works with the Russian interface language.

NEONZARIN commented 5 years ago

I don’t know if it is difficult or not in the current development of the program, but this option would be very useful. https://github.com/YACReader/yacreader/issues/17

selmf commented 5 years ago

Localization is provided by the community and often out of date when we do a new release. YACReader chooses the localization it uses based on your system's environment variables. It is possible that there is either a bug in our packaging or the QT5 framework we're using, but my guess is that YACReader is simply picking up the english language pack first. You should be able to override this by setting an environment variable.

luisangelsm commented 5 years ago

@NEONZARIN sorry, I didn't remember this was in github, I have been wondering where was that user asking about russian language until I saw @selmf message.

Please, go to the installation folder and look for the "languages" folder, do you see yacreader_ru.qm and yacreaderlibrary_ru.qm files there?

NEONZARIN commented 5 years ago

@luisangelsm yes image

image

NEONZARIN commented 5 years ago

@luisangelsm image I found why not a working language translation. All qm language translation files are defective in 9.6.0 - 9.6.2. They cannot be opened by a linguist. Accordingly, the program simply does not find language translations. This is true for all languages.

Simply copying the language files from the YACReader-9.5.0 release solved the problem and the interface translation worked.