-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localization #13
Comments
For StarCraft, as long as you enter the text in whatever language you want it to be, anyone with a computer that is set to that language will be able to read it properly. |
Yes, it applies on text messages between users. |
How to check Russian encoding in Starcraft, Diablo 1, Warcraft 2.
The same conversion can be made in code. It is needed to write two functions |
I prefer to do convert it by using code to keep the original text, could you write those functions? I could get translators |
Sure, it is preferred to convert text by using code. I will write it when I start work on this part of PvPGN. Do you know people who can do translation of the texts? We need these languages:
|
I can get English, German, Spanish, French, Italian, (maybe Korean, not reliable), Polish, Russian translations out of all of those languages from that list. Czech translators shouldn't be difficult to find(I think). I wonder why we support languages like Czech and Japanese, I don't think that their player population on PvPGN servers are big enough to warrant translations |
Very well. I'll let you know when the files for translation will be ready. |
I found a Japanese translator |
I have a Czech translator now |
We should only support languages that the games support. So PvPGN's supported languages should become German, English, French, Italian, Korean, Polish, Russian, and Chinese. It should be understandable to include a few other languages such as Spanish |
I think all the languages, for which MOTD translated, have their games. I see Spanish, Czech and Japanese in Warcraft 3 patch list http://ftp.blizzard.com/pub/war3x/patches/pc/ |
@Danteoriginal, It looks like your Visual Studio detects BTW, are you Dante from the above screenshot? If yes, what is the language of your Starcraft? I assume it is Spanish, but why motd is Portuguese? |
…ings from the code files (*.cpp, *.h, *.lua) #13
@xboi209, localization is still incomplete, but files are prepared for a translation. I just add notes about it https://github.com/HarpyWar/pvpgn/wiki/Localization-Tutorial Will your translaters localize it directly on github or through your commits? |
Some of my translators will use Github, others will just copy and paste it to me. |
Ok. We need only translations from the directory https://github.com/HarpyWar/pvpgn/tree/master/conf/i18n (including strings from Lua that are in |
Can you write in comments next to the original text about the full usage of it? My translators need context and one or two word phrases are too short to understand its usage. |
There are file and function saved for each string. If the usage is not clear translator should open source file and look in the function. |
There needs to be 2 separate files for Chinese Simplified and Chinese Traditional |
…slate>" (for comfort further translation) #13
Yes, there are already 2 separate files for these. |
oops, I didn't see that earlier |
|
yes iam ,harpywar I solved well http://pastebin.com/zu8kvajx regards,wonderful working |
@Danteoriginal, so why Starcraft is Spanish but MOTD is Portuguese on your screenshot? Please create a pull request for this code and describe what does it fix. |
I think PvPGN is displaying Portuguese because that's the language his OS is set to. I believe that a certain packet sends that piece of info to PvPGN. |
harpywar my starcraft is spanish, Error text in the last paragraph in the mod then describe what is what solved. sorry for my bad english |
@xboi209 Yes, game client sends a country from OS. But motd shows by the game language. It works fine for Warcraft 3, but most Starcraft players use English client. @Danteoriginal Thanks, I fixed the error. Please create a new issue for each bug that you found. |
…nfig option "localize_by_country" is enabled #13
* remove duplicate German country definition c4dd101#commitcomment-6954490
@xboi209 I removed files that are not translated yet. I see a button |
Why can the contents of |
I think it relates only to a russian text due to its non standard encoding. |
Why isn't Diablo 2 and WarCraft 3 included in the last commit? |
Diablo 2 and Warcraft 3 use UTF-8 by default - no need to change encoding there. |
Localization is complete. Waiting for translations. |
I'm wondering to localize hardcoded text messages in PvPGN. But different game clients have a different encoding.
UPDATE
Diablo 2 - UTF8
Starcraft (except Russian) - UTF8
WWOL - IRC encoding, it should not be localized
The text was updated successfully, but these errors were encountered: