[mainline] there is a need for a en_US translation
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
-
- Translator
- Posts: 34
- Joined: May 1st, 2010, 10:25 am
Re: [mainline] there is a need for a en_US translation
Yes, I think zh_CN doesn't need the auto-fixing, and while I said above that "the auto-fix tool should preferably be run by translators", I realize now that translators can also choose to delegate this task to the developers, instead of running the tool themselves.
And I see that there are translators for other languages that much prefer such delegation.
Fuzzies are not needed of course, but if there are fuzzies, then I would be more motivated to review.octalot wrote: ↑May 3rd, 2022, 4:30 amDoes this need fuzzies? I'm not understanding why you couldn't decide to review the existing translations even without the fuzzies.CloudiDust wrote: ↑May 3rd, 2022, 1:43 am About Problem 2, I, as a translator, am Okay with the so-called "unnecessary work", as I consider fuzzy translations (no matter what causes the fuzziness) opportunities to recheck and, if necessary, improve previous translations.
zh_CN translations are hosted in my wesnoth-cn github repository that contains translations for Wesnoth the game, release notes, and Steam metadata. The game translation part is managed by a rough python script that invokes the gettext tools (and we don't actually use the official po files, only merge the official pot templates with the existing po files in our repository). The translation updates are then packed and emailed to Ivanovic.
I would make sure that our po files are merged with the most recent pots before sending them out.
CloudiDust, the Simplified Chinese translation maintainer.
- Celtic_Minstrel
- Developer
- Posts: 1892
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: [mainline] there is a need for a en_US translation
This is standard for gettext as I understand – the "official po files" are basically whatever you sent us last.CloudiDust wrote: ↑May 3rd, 2022, 6:39 am we don't actually use the official po files, only merge the official pot templates with the existing po files in our repository
-
- Translator
- Posts: 34
- Joined: May 1st, 2010, 10:25 am
Re: [mainline] there is a need for a en_US translation
I think there are two ways for translators to manage translations if they use git:Celtic_Minstrel wrote: ↑May 3rd, 2022, 2:00 pmThis is standard for gettext as I understand – the "official po files" are basically whatever you sent us last.CloudiDust wrote: ↑May 3rd, 2022, 6:39 am we don't actually use the official po files, only merge the official pot templates with the existing po files in our repository
- Use a translation branch (or branches) of a cloned official repository. (Then the official po files, in theory, could be used for "git style merging" into translators' po files, as git considers them different branches of the same files.)
- Use a separate translation repository. (The official po files would not be used, other than maybe used during the initialization of the translation repo.)
- I think the po files would be processed by Ivanovic before being committed into the official repo. We target 1.16 but our translation updates would also go into master, where the pot templates are not identical to 1.16, so the actual po files committed to master would also be different. (I suppose the files committed to 1.16 are technically also not the same files we send, but their contents would generally be identical.)
-
pot-update
s run across all official pot and po files. Updates introduced by such operations wouldn't be reflected automatically in our po files. I will invokemsgmerge
to update our po files then.
CloudiDust, the Simplified Chinese translation maintainer.
Re: [mainline] there is a need for a en_US translation
Thank you octalot for your hard work on this.
I fully agree that
new fuzzies by grammar corrections are unwelcome
, but unfortunately I think an automatic clear of these fuzzies is too scary to be run by someone that doesn't understand the target language. The best solution is that they are not created at the first place.Generally speaking, if a writer can't reach the conclusion that his change to the original string doesn't change the meaning, no computer solution could reliably reach the conclusion that the corresponding translation doesn't need an update.
Not sure how much this statement is worth. I guess English doesn't count as "any language" in there.Pentarctagon wrote: ↑April 29th, 2022, 1:45 am Also it's worth pointing out that there aren't any languages that Wesnoth targets for keeping up to date.

As long as this stands as a project policy, we can all stop pretending that anyone care enough to make any change.
...and no additional communication is needed really.

- Pentarctagon
- Project Manager
- Posts: 5046
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: [mainline] there is a need for a en_US translation
language -> translationdemario wrote: ↑May 6th, 2022, 9:39 amNot sure how much this statement is worth. I guess English doesn't count as "any language" in there.Pentarctagon wrote: ↑April 29th, 2022, 1:45 am Also it's worth pointing out that there aren't any languages that Wesnoth targets for keeping up to date.![]()
As long as this stands as a project policy, we can all stop pretending that anyone care enough to make any change.
...and no additional communication is needed really.![]()

And this has always been the effective policy - as far as I know, there has never been a release delayed because of translation incompleteness. Sometimes longer string freezes are done, but never an otherwise planned and ready release delayed.
And at the risk of repeating myself, doing so would require more active communication (or at least being easier to contact, such as being on IRC/Discord), than is generally the case currently. Actively trying to keep any translation at 100% would necessarily need more coordination than simply having translators send updates to ivanovic whenever they happen to be finished, for starters.
If all I do is declare that we're not releasing any update where some list of translations I arbitrarily chose aren't 100% complete and nothing changes beyond that, it will not work.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
- Jarom
- Posts: 102
- Joined: January 4th, 2015, 8:23 pm
- Location: Green Isle, Irdya or Poland, Earth - I'm not quite sure
Re: [mainline] there is a need for a en_US translation
Just a small update, as a person who advocated using some sort of tool to automatically unfuzzy changes with minor grammar fixes, I want to note that adding a comment as #po: would suffice for me. The tedious scanning of every single character in poedit or looking up those phrases one by one in diff tools are the problems, not having fuzzies by itself. In other words, the long search for "why did this 5 sentences long message became a fuzzy and should I be concerned about it?" is what should be fixed, not being fuzzy itself. If that is adressed, even one translator could quickly fix most fuzzies in like 1-2 hours once a major version, eg. during string freeze.
- Celtic_Minstrel
- Developer
- Posts: 1892
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: [mainline] there is a need for a en_US translation
Sounds like the "po comments on commits" idea may be able to satisfy that requirement? And then distributing a separate translator's changelog. Maybe offering a quick and easy way to merge said changelog into the po file itself so the changes show up in poedit or whatever.
- Pentarctagon
- Project Manager
- Posts: 5046
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: [mainline] there is a need for a en_US translation
So for the original idea of having an en_US translation, the majority of translators who have replied have been against doing this, so at this point I don't think it's something we'll end up doing. In a similar way, some (most?) of the translators who have spoken up are also opposed to using pofix to mass-update translations for minor changes, so it seems like that tool can effectively be considered to be retired.
There have been some additional ideas brought up during this thread as well though that could be considered and potentially implemented:
There have been some additional ideas brought up during this thread as well though that could be considered and potentially implemented:
- Adding po comments to commit messages when making changes that aren't consequential for the string's meaning so that translators don't need to spend a bunch of time scrutinizing a string trying to find what minor thing was changed. This would be generated via a new script to create a separate "translators changelog" per release. This would also accomplish much the same as pofix does, with the exception of letting translators choose whether they want to just clear the fuzzy status or take a closer look.
- Be stricter about changing strings in the stable series. This would mean a permanent string freeze on everything except UI related strings.
- Communicate to the translators via the mailing list which campaigns are likely to have major overhauls during the current developer cycle.
- Use Weblate. This would be required to be self-hosted, since based on their pricing criteria for their cloud offering we'd fall into the Enterprise tier (there are more than 10,000 source strings), which is over $3,000/year. This could be considered, but there would need to be at least a few translation teams that would definitely use it - I don't want us to go to the trouble of getting it setup only to then sit there unused.
- Have certain languages that are targeted to be 100% translated before a release is tagged. This would also require the translators for those languages be more actively engaged with the rest of the team - releases can't be stalled indefinitely waiting for a translation that has no estimated completion date and no good way to contact its translators.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
- Celtic_Minstrel
- Developer
- Posts: 1892
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: [mainline] there is a need for a en_US translation
Because they're comments on how the string has changed, so they're useless clutter to someone starting the translation from scratch. These po comments would not replace the translator's changelog idea – said changelog would be automatically generated by scraping commits for po comments.Pentarctagon wrote: ↑May 15th, 2022, 1:59 am I'm not clear on why it would be beneficial to put po comments in commit messages rather than the cfg/lua/cpp file though.
Re: [mainline] there is a need for a en_US translation
I heard weblate.org hosted FOSS projects for free. (https://github.com/naev/naev/issues/158 ... -748379631)
I use weblate.org as a translator in Naev which has more than 10,000 source strings.
I use weblate.org as a translator in Naev which has more than 10,000 source strings.
- Pentarctagon
- Project Manager
- Posts: 5046
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: [mainline] there is a need for a en_US translation
Alright, I've updated my previous post to reflect that.Celtic_Minstrel wrote: ↑May 15th, 2022, 11:34 amBecause they're comments on how the string has changed, so they're useless clutter to someone starting the translation from scratch. These po comments would not replace the translator's changelog idea – said changelog would be automatically generated by scraping commits for po comments.Pentarctagon wrote: ↑May 15th, 2022, 1:59 am I'm not clear on why it would be beneficial to put po comments in commit messages rather than the cfg/lua/cpp file though.
Huh, alright. It sounds like that's something we'd need to contact Weblate about and see if they'd allow Wesnoth's translations to be hosted there for free?oooo wrote: ↑May 15th, 2022, 12:15 pm I heard weblate.org hosted FOSS projects for free. (https://github.com/naev/naev/issues/158 ... -748379631)
I use weblate.org as a translator in Naev which has more than 10,000 source strings.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: [mainline] there is a need for a en_US translation
What are the benefits of using Weblate, please? A couple of people have mentioned it, but I'm not sure if they're recommending it for its benefits, or just discussing it because it's already been mentioned.