robertnunn / DRG-Save-Editor

Rock and stone!
GNU General Public License v3.0
104 stars 23 forks source link

language #49

Open TonySen1 opened 2 years ago

TonySen1 commented 2 years ago

We need Chinese, thank you!

AnthonyMichaelTDM commented 2 years ago

if you're willing to translate, and implement localization, you can open a pull request on my fork and do so, I'll take a look and probably merge such changes (if I was at all fluent in mandarin I'd do it myself, but I'm not so I can't).

AnthonyMichaelTDM commented 2 years ago

do note though, because most of the text you see is stored in the editor.ui file used to create the user interface with PyQT, you have to use qt's modules to do this

here are some resources if you're interested https://doc.qt.io/qtforpython/tutorials/basictutorial/translations.html https://doc.qt.io/qtforpython/PySide6/QtCore/QTranslator.html https://doc.qt.io/qt-6/qtlinguist-index.html

TonySen1 commented 2 years ago

OK,I'll try.

AnthonyMichaelTDM commented 2 years ago

how's translating going?

TonySen1 commented 2 years ago

I have limited skills and only translated the language file and forked a copy of the project:https://github.com/TonySen1/DRG-Save-Editor