clbr / radeontop

GNU General Public License v3.0
804 stars 70 forks source link

Codepage broken in Russian version of radeontop #35

Open RussianNeuroMancer opened 8 years ago

RussianNeuroMancer commented 8 years ago

Hi

Please take a look to at screenshots for comparison: https://imgur.com/bTrRcj6 https://imgur.com/KXMGhuB

clbr commented 8 years ago

Patches welcome. Russian is currently the only translation, and I don't even have the means to test it.

That said, I've never seen something like that, do all other programs show translations properly? It kind of looks like something is wrong either with your terminal or locale.

clbr commented 8 years ago

The source file is utf-8, and it presumably worked for the translator.

RussianNeuroMancer commented 8 years ago

do all other programs show translations properly?

Yes.

VladislavUmrikhin commented 7 years ago

Hello, i have this problem too(

wb027 commented 6 years ago

I solved this problem. See my pull request https://github.com/clbr/radeontop/pull/73 https://raw.githubusercontent.com/wb027/radeontop/master/screenshots/radeontop_ru_utf-8_fixed.png

wb027 commented 6 years ago

Probably my decision is not the best, the author doubts that it will work on other operating systems. Palliative solutions for users:

  1. Rename / delete the binary translation file radeontop.mo (on ubuntu it is located in /usr/share/locale/ru/LC_MESSAGES/ ).
  2. Run as $ export LANG=C; radeontop