buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
894 stars 116 forks source link

Add Chinese Translation #888

Open EurekaChen opened 2 years ago

EurekaChen commented 2 years ago

How can I add Chinese translation? add .ts text file (add zh.ts and formula_zh.ts) seems easy, but what about .qm file?

EurekaChen commented 2 years ago

Can you give me some instruction for translate mandelbulber2 to Chinese? Thank you!

buddhi1980 commented 2 years ago

To do translation you need to install Qt Development package. You can download it from https://www.qt.io/download-open-source To do translation you will use Qt Linguist program. This program will allow to translate all UI elements and will preview translation results. After you will finish translation, you can send me .ts file and I will create qm file and add this language to the program.

EurekaChen commented 2 years ago

Ok, thank you very much!I'm a C# programer with Visual Studio and not familiar with QT. So, I download QT Linguist, Git clone mandelbulber2, Find language folder and rename de.ts to zh.ts, Open zh.ts by QT Linguist, and translate source text to Chinese. Is this OK? and how can I send it to you?

networkpanic commented 2 years ago

Please raise a pull request to add the translation keys

EurekaChen commented 2 years ago

OK,I see.