Languages?
Tue, 2010-09-28 11:40
Hi!
I have seen there are different lanuages, and been wondering how can i change the game to one of them. I also offer to make a hungarian translation if someone explains how to do it. ( or at least the .qm files... )
hello,
look in your Data/Locale, you'll find all the localization files.
For the frontend you'll need Qt Linguist to modify the qm files, while for the frontend you need to add a .txt file for you language.
If you need further help come in our irc
I downloaded the QT SDK, but not really getting the hang of this QT Linguist stuff. If you'd go more in details as how to make the new language, it would be appretiated! (Also how to see it work. Do i have to recompile the whole game?)
You shouldn't need to download the SDK just to add a language.
The Qt linguist tool is standalone.
I've added:
http://code.google.com/p/hedgewars/source/browse/share/hedgewars/Data/Locale/hedgewars_hu.ts
Which you can use as input to Qt Linuist
To test your results, you'll want to copy the hedgewars_hu.qm output of Qt Linguist to Locale on one of the nightly builds, along with hu.txt
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
I downloaded the SDK anyway, 'cause i'm interested in the QT system, saw it some other places too...
I successfully created the hu.qm file and some days ago the hu.txt too.
However, the ingame texts containing characters: á,é,í,ö,ó,ő,ü,ú,ű look wrong. Do you have any suggestions as to which chars to use instead, or shall i try to find them manually?I will be ready with them soon, i think.
Edit: I just found out the text should be in UTF-8 format, and no problem. Where do i send the finished translation files?
Feel free to link to the files here, or in IRC, or post a bug on google code.
Can also e-mail 'em - e-mail addresses are on the credits page in the client.
Also, please don't create hu.txt in notepad - aside from character encoding, it has a bad habit of starting the file w/ a BOM.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
BOM?
Style is spelled style not stile.
Use Dropbox to backup your important goodies!
http://en.wikipedia.org/wiki/Byte_order_mark#UTF-8
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev