Hot to submit a translation update?

6 replies [Last post]
GunChleoc
GunChleoc's picture
User offline. Last seen 4 years 47 weeks ago. Offline
Joined: 2014-08-04
Posts: 6

I can't remember the procedure to submit translations. What would be the most convenient process for you? I can supply a diff that could be applied to the HG repository, make a pull request on Github, or send somebody a file...

Scottish Gaelic localizer

Wuzzy
Wuzzy's picture
User offline. Last seen 3 days 43 min ago. Offline
Joined: 2012-06-20
Posts: 1301

I suggest to register an account on http://hedgewars.org/bugs and file a feature request there and upload all the relevant files there.
Patches or diffs will be happily accepted, I guess.

Don't use GitHub. The Git repository is only a mirror of the original repository, which is based on Mercurial. So all pull requests are likely to be ignored.

Make sure you didn't forget anything and read this: http://hedgewars.org/kb/Translations

You may alternatively talk to the developers in IRC. irc://chat.freenode.net/hedgewars

Please note that the translation will very likely to become outdated before the next Hedgewars release. Shortly before a Hedgewars release, you should expect that the strings have been changed again, so you need to update your translations again if you don't want a Hedgewars release with an incomplete translation.

Hi, I am a Hedgewars developer. Smile

alzen
User offline. Last seen 5 years 21 weeks ago. Offline
Joined: 2008-02-28
Posts: 93

Wuzzy allegedly wrote:

Please note that the translation will very likely to become outdated before the next Hedgewars release. Shortly before a Hedgewars release, you should expect that the strings have been changed again(...)

Wuzzy, that's good you mentioned changes of strings before a new Hedgewars release. How does it work, I mean - do you add new strings to translated files as well, but in english? I'm currently working on Polish translation update and I see that for example "pl.txt" file is missing a few lines.

Also, do you alert translators some time before new release to update translations?

ps. where should I search for strings shown as tips in Schemes Editor? I was only able to find tips for these icons on the left. But tips shown when I have my mouse over one of the options on the right - I have no idea where they are. I didn't find them in any of .ts or .txt files - but maybe I overlooked something.

XMPP:alzen@jid.pl / GG: 3747253

nemo
nemo's picture
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 2009-01-28
Posts: 1861

Hey alzen, sorry for missing your response on chat. It was really late at the time.

So, the .lua file does have commented out english lines. The .txt files do not. We probably should put in english ones commented out for the sections where it is appropriate though. For now, this is what is missing in pl.txt
00:58 01:25 03:58 04:58

I'm not certain what you mean about mouse over tips for the items on the right. I don't think we have any? Certainly don't see any when I mouse over those items. We probably should, although the names are fairly descriptive at least.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

alzen
User offline. Last seen 5 years 21 weeks ago. Offline
Joined: 2008-02-28
Posts: 93

Thank you for your answer, nemo.

The text I was asking about - for example, when you edit a scheme; place a mouse pointer over words "Crate Drops"(in the right column) and you will see a description:

"Likelihood of a crate dropping before a turn" - this is the text I'm looking for to edit but I cannot find it anywhere.

XMPP:alzen@jid.pl / GG: 3747253

nemo
nemo's picture
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 2009-01-28
Posts: 1861

Ah... It seems they were recently added to the game and the translation files were not yet updated.

I updated the files.
https://hg.hedgewars.org/hedgewars/file/6c26c66f419e/share/hedgewars/Data/Locale/hedgewars_pl.ts#l1739

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

alzen
User offline. Last seen 5 years 21 weeks ago. Offline
Joined: 2008-02-28
Posts: 93

Nemo, I've done some changes in this file recently, so I will just ask you for update after I'm done. Sorry about that but I do not want to lose what I had already done. Will contact you during weekend I guess.

Hope that's not a problem.

XMPP:alzen@jid.pl / GG: 3747253

Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]