mrkite / TerraFirma

Mapping for Terraria
http://seancode.com/terrafirma
BSD 2-Clause "Simplified" License
278 stars 61 forks source link

Is Russian localization needed? #106

Closed nikitamatrosoff closed 4 years ago

nikitamatrosoff commented 4 years ago

I can translate the whole program to Russian and probably find people to translate it into other languages. Is it needed?

mrkite commented 4 years ago

Absolutely! Do you know how to do translations for Qt programs? Honestly, I've never done them before, but I added support for them in the hopes that someone would offer :)

nikitamatrosoff commented 4 years ago

Great! Actually, I didn't ever work with Qt, but I can figure out, if you will tell me.

mrkite commented 4 years ago

You want to install a tool called "Qt Linguist" which will work on .ts files. I just committed an auto-generated TS file. In theory (again I've never done this), you should be able to generate a new TS file for russian that you can then send to me as a PR.

You can also compile that ts file into a QM which, if you copy into the same folder as the terrafirma.exe, will automatically be used if your locale is set... which would be a good way to test things are working.

Here's Qt's documentation on Qt LInguist: https://doc.qt.io/qt-5/linguist-translators.html

nikitamatrosoff commented 4 years ago

I'm experiencing the issue #104 also. The program can't start from console too and no exit code is shown. Instructions from the help link there didn't help.

nikitamatrosoff commented 4 years ago

Update: looks like this issue is happening with earlier releases as well. Tried:

mrkite commented 4 years ago

Could be your 3d drivers failing to load, although that usually just ends up with a blank window, not no window at all.

nikitamatrosoff commented 4 years ago

Here is no window at all. Maybe there are problems with libraries? I don't have Qt installed if it matters.

mrkite commented 4 years ago

It's a static compile.. there are no libraries needed.

nikitamatrosoff commented 4 years ago

Created #107, check it!

mrkite commented 4 years ago

thanks!