You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's your idea for a cool feature that would help you use OHM better. Please provide a clear and concise description of the problem you'd like to solve & how you'd like to solve it. Or, the other way around! @jeffreyameyer to set up Transifex account for OHM in order to help with localization.
iD uses this by default.
Weblate is an open source service, very user-friendly and modern, with a lot of translators.
Transifex is not open source with a very awkward interface.
Please don't use Transifex, better choose Weblate ...
iD would do better to move away from Transifex, as other OSM projects have. I can't contribute to it anymore because I don't want to accept the Transifex terms for everything I have ever done on the platform.
Transifex hosting wasn't ever free, and now specifically requires projects to be non-commercial.
It monetizes users and content in all sorts of ways. Their limits are also stringent, and having exceeded them is not a good position to be in when Transifex decides to negotiate purchasing their idiotic enterprise plans.
Arguably Hosted Weblate doesn't qualify as free either, as they require mentioning that their services are used.
That is some form of active quid pro quo advertisement. It is also a great idea, but that is beside the point.
With it being a libre software offering, there are alternatives like https://weblate.bubu1.eu/ or self-hosting too.
I’m working on submitting a ticket to TranslateWiki now, though looks like I need to read up a bit on exactly how it works. Sounds like a translation branch to which translatewiki has access. Sounds easy
I see a bunch of translation management systems (TMSes) proposed in this discussion. I’m sure we all have our own preferences from a developer or translator standpoint. However, to me, the most important consideration is consistency with OpenStreetMap, irrespective of the pros and cons of each TMS. Most of the elements of OHM are forks of OSM whose strings won’t differ significantly from the OSM version even in the long term. If we align each OHM project to the same TMS as the corresponding OSM project, translators will benefit from translation memory, saving tons of work, facilitating high coverage, and ensuring consistency. It would also be easier to share configurations for these TMSes between OSM and OHM.
It should be possible to set up both Transifex and Translatewiki.net so each project can be translated the same way it’s translated for OSM. And if an OSM project decides to switch to another TMS like Weblate, it hopefully wouldn’t be a big deal to set that up in tandem for OHM or even share the same account there.
@jeffreyameyer TX doesn't have a free/gratis tier for open source projects.
What it has is a trial period for specifically non-commercial projects with open source code, for which it leverages its bargaining position to negotiate enterprise payment plans once it sees fit.
Unfortunately Translatewiki.net (the service) loads a script from play.google.com.
Not sure what you mean. For me the site’s only third-party network requests are for Wikimedia Commons images, just like on the OSM Wiki. The site is actually just a tricked-out MediaWiki installation with the Translate extension installed.
If all the garbage in the collective official OSM pool could be avoided this project would stand do as well as the ones that already do.
I guess there’s nothing requiring the OHM projects to share an organization with OSM on Transifex. My perspective on the matter is that I’m one of the few translators to Vietnamese for any OSM project on any TMS. Redoing thousands upon thousands of strings without translation memory would be prohibitive. I’m sure it would be a similar story for many other languages. Meanwhile, my experience with translation memory has been positive, though that may be because I haven’t had to collaborate with as many other translators as you have.
I understand that many OSM projects already use Weblate. My table above only covers the projects that OHM has forked that require translation. But I didn’t list JOSM because OHM hasn’t forked it, and I didn’t list Nominatim because it isn’t localized. (The strings live in the website, which is translated on Translatewiki.net.)
TX doesn't have a free/gratis tier for open source projects.
What it has is a trial period for specifically non-commercial projects with open source code, for which it leverages its bargaining position to negotiate enterprise payment plans once it sees fit.
That’s an interesting way to put it. They do require for-profit companies to sign up for a paid plan rather than sneak in under the cover of an open-source license, but they don’t require the project to be licensed under CC NC or something like that. I haven’t heard of OSM or OSMF being pressured to migrate to a paid plan; it would certainly be a concerning development if what you say is true.
To be clear, I like the idea of sticking to FOSS-based services for translating these projects. (I’m the one who suggested Translatewiki.net in Slack. Its translation memory is probably the best out there.) But it’s hard enough to recruit translators for OSM projects, let alone starting a fork from scratch.
It doesn't load anything nefarious on a new tab. My apologies. (Used to load Google Analytics, so I didn't do my due diligence. Not sure how I managed that either.)
Having to collaborate with other translators is only fun with good tools.
With TX and its misuse of translation memory, it has resulted in the current string-base, and further makes doing anything about it a right pain.
TX is the home of the drive-by-translator, and it is stacked against the capacities of any one translator in dealing with all of it. Only through extraneous effort can consistency be had, and be maintained in kind.
For every language, in any project, results are better once TX is avoided (like elementaryOS did once TX held the project to its happenchance terms).
At best using ones time more productively elsewhere is a clear benefit in cases where consistency is wrestled from the hands of this monstrosity.
It isn't an interesting way to put it on my part, I merely convey exactly what TX says.
In no capacity is TX free. Thus, the original claim is false. End of.
You haven't heard of OSM or OSMF being pressured to migrate to a paid plan with its only-as-a-disservice platform yet.
If you fork a project, you also get its string-base to start with.
Sharing trivial strings between projects is both possible and a potential for error.
TL;DR I have no qualms using Translatewiki and I will try to do so and recruit translators to it if that is what it takes.
In that case, could we start by setting up ohm-website to use Translatewiki.net? That would meet the FOSS expectations articulated above while being consistent with openstreetmap-website, making it easier to keep the two projects in sync. After all, it’s ohm-website that needs translation management the most urgently: #293.
I also created a new Translatewiki branch and gave the Github Translatewiki bot push access to our repo.
I believe now we wait for response from the TranslateWiki staff to do the next steps on setting up our project, or asking for additional info if that's required. I've been a little unsure how we should handle the divergence of OHM's en.yml from the upstream OSM's. while other languages have not changed. Unlike a new, untranslated project, we have a messier situation, though an easier one overall.
At least in English it was much faster to modify the OSM strings to match OHM needs than to start over, but along the way we added a few new keys, and some string values changed a lot while many others changed not at all.
Remove all unused keys from EN.yml -- there are some that got set to empty strings without actually getting removed from the code, partly in hopes of reducing our divergence from OSM base, but empty keys are not allowed on translatewiki
Create a list of keys whose content was changed before the initial import. I think this would be a diff of our en.yml against OSM's. Best done after we remove unused keys
I am just firing up local env to test a commit that removes all unused keys from our latest en.yml, and then I will diff that against the upstream file to determine all the keys we either removed or whose values changed
Activity
andrewharvey commentedon Jul 16, 2021
Right now https://github.com/OpenHistoricalMap/ohm-editor-layer-index has disabled Transifex support, but translations can still be done via the yaml config files.
In OpenHistoricalMap/ohm-editor-layer-index#1 @comradekingu mentions using weblate instead.
For https://github.com/OpenHistoricalMap/ohm-editor-layer-index I tihnk the current flat file translations will be sufficient, but not opposed to anyone either re-adding Transifex or weblate support.
I know before I asked for a Transifex project, but right now I don't think it's needed unless other tools are asking for it.
KovalevArtem commentedon Jul 17, 2021
Weblate is an open source service, very user-friendly and modern, with a lot of translators.
Transifex is not open source with a very awkward interface.
Please don't use Transifex, better choose Weblate ...
comradekingu commentedon Jul 17, 2021
iD would do better to move away from Transifex, as other OSM projects have. I can't contribute to it anymore because I don't want to accept the Transifex terms for everything I have ever done on the platform.
Transifex hosting wasn't ever free, and now specifically requires projects to be non-commercial.
It monetizes users and content in all sorts of ways. Their limits are also stringent, and having exceeded them is not a good position to be in when Transifex decides to negotiate purchasing their idiotic enterprise plans.
Arguably Hosted Weblate doesn't qualify as free either, as they require mentioning that their services are used.
That is some form of active quid pro quo advertisement. It is also a great idea, but that is beside the point.
With it being a libre software offering, there are alternatives like https://weblate.bubu1.eu/ or self-hosting too.
danrademacher commentedon Jul 25, 2022
Based on conversation in OSM US Slack, we should set up OHM on https://translatewiki.net/ for translation.
I see the requirements here and we meet them:
https://translatewiki.net/wiki/Translating:New_project
[-]Set up OHM account for Transifex[/-][+]Set up OHM for better translation[/+]danrademacher commentedon Jul 25, 2022
I’m working on submitting a ticket to TranslateWiki now, though looks like I need to read up a bit on exactly how it works. Sounds like a translation branch to which translatewiki has access. Sounds easy
Reading up here on details: https://translatewiki.net/wiki/Setup_of_a_new_project
1ec5 commentedon Jul 25, 2022
I see a bunch of translation management systems (TMSes) proposed in this discussion. I’m sure we all have our own preferences from a developer or translator standpoint. However, to me, the most important consideration is consistency with OpenStreetMap, irrespective of the pros and cons of each TMS. Most of the elements of OHM are forks of OSM whose strings won’t differ significantly from the OSM version even in the long term. If we align each OHM project to the same TMS as the corresponding OSM project, translators will benefit from translation memory, saving tons of work, facilitating high coverage, and ensuring consistency. It would also be easier to share configurations for these TMSes between OSM and OHM.
It should be possible to set up both Transifex and Translatewiki.net so each project can be translated the same way it’s translated for OSM. And if an OSM project decides to switch to another TMS like Weblate, it hopefully wouldn’t be a big deal to set that up in tandem for OHM or even share the same account there.
comradekingu commentedon Jul 25, 2022
Unfortunately Translatewiki.net (the service) loads a script from play.google.com. Other than that it is a good idea that largely compares to Weblate.
@1ec5 TX ensures consistency suffers in a myriad of ways. It suggests deleted entries, and doesn't handle fuzzy strings. Further it doesn't share anything on a org level other than the list of project entries to click and its broken system of trust by administration. In short it does nothing useful to share translation memory, and has every conceivable way of thwarting it.
There is no way of browsing a large span of strings, and it isn't possible to browse multiple languages at once.
If all the garbage in the collective official OSM pool could be avoided this project would stand do as well as the ones that already do.
https://translatewiki.net/wiki/Translating:OpenStreetMap
https://weblate.bubu1.eu/projects/OpenTracks/#information
https://weblate.bubu1.eu/projects/open-tracks-osm-dashboard/#information
https://hosted.weblate.org/projects/gpxsee/#information
https://hosted.weblate.org/projects/gpslogger/#information
https://hosted.weblate.org/projects/getback_gps/#information
https://hosted.weblate.org/projects/osm-smart-menu/#information
https://hosted.weblate.org/projects/osmand/#information
https://hosted.weblate.org/projects/organicmaps/#information
https://hosted.weblate.org/projects/openbmap/#information
https://hosted.weblate.org/projects/mapcomplete/#information
https://hosted.weblate.org/projects/gogocarto/#information
https://hosted.weblate.org/projects/go-map/#information
https://translate.get-map.org/projects/maposmatic/#information
and so on …
Hoping to replicate the rate at which even the source strings improve over at TX is not helped by piling on more stuff onto a system that doesn't work in its most basic capacity, and severely mismanages developer and translator resources.
@jeffreyameyer TX doesn't have a free/gratis tier for open source projects.
What it has is a trial period for specifically non-commercial projects with open source code, for which it leverages its bargaining position to negotiate enterprise payment plans once it sees fit.
1ec5 commentedon Jul 26, 2022
Not sure what you mean. For me the site’s only third-party network requests are for Wikimedia Commons images, just like on the OSM Wiki. The site is actually just a tricked-out MediaWiki installation with the Translate extension installed.
I guess there’s nothing requiring the OHM projects to share an organization with OSM on Transifex. My perspective on the matter is that I’m one of the few translators to Vietnamese for any OSM project on any TMS. Redoing thousands upon thousands of strings without translation memory would be prohibitive. I’m sure it would be a similar story for many other languages. Meanwhile, my experience with translation memory has been positive, though that may be because I haven’t had to collaborate with as many other translators as you have.
I understand that many OSM projects already use Weblate. My table above only covers the projects that OHM has forked that require translation. But I didn’t list JOSM because OHM hasn’t forked it, and I didn’t list Nominatim because it isn’t localized. (The strings live in the website, which is translated on Translatewiki.net.)
That’s an interesting way to put it. They do require for-profit companies to sign up for a paid plan rather than sneak in under the cover of an open-source license, but they don’t require the project to be licensed under CC NC or something like that. I haven’t heard of OSM or OSMF being pressured to migrate to a paid plan; it would certainly be a concerning development if what you say is true.
To be clear, I like the idea of sticking to FOSS-based services for translating these projects. (I’m the one who suggested Translatewiki.net in Slack. Its translation memory is probably the best out there.) But it’s hard enough to recruit translators for OSM projects, let alone starting a fork from scratch.
comradekingu commentedon Jul 26, 2022
It doesn't load anything nefarious on a new tab. My apologies. (Used to load Google Analytics, so I didn't do my due diligence. Not sure how I managed that either.)
Having to collaborate with other translators is only fun with good tools.
With TX and its misuse of translation memory, it has resulted in the current string-base, and further makes doing anything about it a right pain.
TX is the home of the drive-by-translator, and it is stacked against the capacities of any one translator in dealing with all of it. Only through extraneous effort can consistency be had, and be maintained in kind.
For every language, in any project, results are better once TX is avoided (like elementaryOS did once TX held the project to its happenchance terms).
At best using ones time more productively elsewhere is a clear benefit in cases where consistency is wrestled from the hands of this monstrosity.
It isn't an interesting way to put it on my part, I merely convey exactly what TX says.
In no capacity is TX free. Thus, the original claim is false. End of.
You haven't heard of OSM or OSMF being pressured to migrate to a paid plan with its only-as-a-disservice platform yet.
If you fork a project, you also get its string-base to start with.
Sharing trivial strings between projects is both possible and a potential for error.
TL;DR I have no qualms using Translatewiki and I will try to do so and recruit translators to it if that is what it takes.
1ec5 commentedon Aug 16, 2022
In that case, could we start by setting up ohm-website to use Translatewiki.net? That would meet the FOSS expectations articulated above while being consistent with openstreetmap-website, making it easier to keep the two projects in sync. After all, it’s ohm-website that needs translation management the most urgently: #293.
danrademacher commentedon Aug 16, 2022
I just submitted this per Translatewiki's guidelines:
https://phabricator.wikimedia.org/T315377
I also created a new Translatewiki branch and gave the Github Translatewiki bot push access to our repo.
I believe now we wait for response from the TranslateWiki staff to do the next steps on setting up our project, or asking for additional info if that's required. I've been a little unsure how we should handle the divergence of OHM's
en.ymlfrom the upstream OSM's. while other languages have not changed. Unlike a new, untranslated project, we have a messier situation, though an easier one overall.At least in English it was much faster to modify the OSM strings to match OHM needs than to start over, but along the way we added a few new keys, and some string values changed a lot while many others changed not at all.
danrademacher commentedon Aug 31, 2022
OK, we're making progress on Translatewiki!
https://phabricator.wikimedia.org/T315377
Next we need to do the following:
danrademacher commentedon Sep 10, 2022
OK, finally back to this.
Here's the version of
en.ymlfrom upstream before OHM changes were added back in:https://github.com/OpenHistoricalMap/ohm-website/blob/4bf0316e6717598a8e07364f011e675953d78786/config/locales/en.yml
I am just firing up local env to test a commit that removes all unused keys from our latest
en.yml, and then I will diff that against the upstream file to determine all the keys we either removed or whose values changedClean up en.yml and remove unused keys
danrademacher commentedon Sep 14, 2022
And here's the diff of our en.yml vs the upstream OSM en.yml from last time we merged upstream:
https://gist.github.com/danrademacher/e7eb528c31cecb78e2f8c9b9e33af1fd
Bulk change all OSM to OHM
danrademacher commentedon Sep 29, 2022
This is done and we have our first PR from TranslateWiki!
OpenHistoricalMap/ohm-website@903d3d6
I am about to merge that we should be able to deploy tomorrow, 30 Sep
1ec5 commentedon Sep 29, 2022
🎉 Thanks for getting this improvement through the door!
Should we track translating the other projects in #268 (comment) in a separate issue?