Page MenuHomePhabricator

Add OpenHistoricalMap's Overpass Turbo instance to translatewiki.net
Open, In Progress, MediumPublic4 Estimated Story Points

Description

Project information

Name: OpenHistoricalMap's Overpass Turbo instance
Homepage: https://overpass-turbo.openhistoricalmap.org/
Project link: https://openhistoricalmap.org/
Code repository: https://github.com/OpenHistoricalMap/overpass-turbo/

  • Source branch: main
  • Target branch: main

OS License: MIT
Issue Tracker: https://github.com/OpenHistoricalMap/issues
Project contact: ohm-admins@googlegroups.com

Logo:

  • Without text:
  • With text:

Project description:
This is a fork of https://github.com/tyrasd/overpass-turbo containing modifications that allow interaction with the time dimension, OpenHistoricalMap's reason for being. Translatewiki.net already translates our fork of the OpenStreetMap website so this seems a natural match, although the upstream overpass-turbo code base uses Transifex.

We need help with two classes of strings. The first is where we swap "OSM", "openstreetmap.org" and other references to the upstream project with "OHM", "openhistoricalmap.org" and so on. The second may just be limited to two strings, help.attr.data and help.attr.tiles, which deal with licensing (ours is more permissive than OSM). Discussion is contained in the issue https://github.com/OpenHistoricalMap/issues/issues/811 and the relevant files can be found in https://github.com/OpenHistoricalMap/overpass-turbo/tree/main/locales

NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Label: OpenHistoricalMap's Overpass Turbo instance
Namespace: NS_PROJECTS
Prefix: ohm-opt-
Validators:

  • BraceBalance (not enforced)

Insertables:

  • HtmlTagInsertablesSuggester

Support: https://github.com/OpenHistoricalMap/issues

Changes can be made in OpenHistoricalMap.yaml. Use WikimediaMobile-ios.yaml as an example

List of ignored keys, should be added with prefix (ohm-opt-):

load.title
load.delete_query
load.saved_queries-local
load.examples
load.no_saved_query
export.section.data
export.generic_download_copy
export.raw_interpreter
export.save_geoJSON_gist
export.section.query
export.format_text
export.format_text_raw
export.format_text_umap
export.to_xml
export.to_ql
export.geoJSON.title
export.geoJSON.expl
export.map_view.title
export.map_view.permalink
export.map_view.center
export.map_view.center_expl
export.map_view.bounds
help.title
help.section.introduction
help.section.queries
help.intro.shortcuts
help.intro.shortcuts.bbox
help.intro.shortcuts.center
help.intro.shortcuts.date
help.intro.shortcuts.custom
help.section.ide
help.ide.share.title
help.section.about
help.about.maintained
help.about.feedback.title
help.about.source.title
help.about.source
help.section.attribution
help.attr.data_sources
help.attr.mining
help.attr.search
help.attr.software
help.attr.leaflet
dialog.cancel
dialog.save
dialog.save-local
dialog.delete
dialog.close
dialog.done
error.nominatim.expl
warning.browser.title
warning.browser.expl.2
warning.incomplete.title
warning.incomplete.expl.2
warning.incomplete.not_again
warning.incomplete.remote.expl.2
warning.share.long
data_stats.request_duration
data_stats.lag
data_stats.lag_areas
popup.tags
popup.metadata

Concerns

Event Timeline

Hi @EricTheise

We need help with two classes of strings. The first is where we swap "OSM", "openstreetmap.org" and other references to the upstream project with "OHM", "openhistoricalmap.org" and so on. The second may just be limited to two strings, help.attr.data and help.attr.tiles, which deal with licensing (ours is more permissive than OSM). Discussion is contained in the issue https://github.com/OpenHistoricalMap/issues/issues/811 and the relevant files can be found in https://github.com/OpenHistoricalMap/overpass-turbo/tree/main/locales

So only the following strings should be made available for translation?

  • Strings that have references to "OSM", "openstreetmap.org" in them
  • help.attr.dat, help.attr.tiles, and other OHM specific strings

Would it be possible to list out the keys from the JSON file that should not be made available for translation?

@EricTheise When creating issues regarding localization, which issue template should we use? Should there be a specific issue template for localization issues.

Thanks for following up, @abi_. These keys should not be translated as part of this project (if they need translation they should be translated upstream at https://github.com/tyrasd/overpass-turbo).

load.title
load.delete_query
load.saved_queries-local
load.examples
load.no_saved_query
export.section.data
export.generic_download_copy
export.raw_interpreter
export.save_geoJSON_gist
export.section.query
export.format_text
export.format_text_raw
export.format_text_umap
export.to_xml
export.to_ql
export.geoJSON.title
export.geoJSON.expl
export.map_view.title
export.map_view.permalink
export.map_view.center
export.map_view.center_expl
export.map_view.bounds
help.title
help.section.introduction
help.section.queries
help.intro.shortcuts
help.intro.shortcuts.bbox
help.intro.shortcuts.center
help.intro.shortcuts.date
help.intro.shortcuts.custom
help.section.ide
help.ide.share.title
help.section.about
help.about.maintained
help.about.feedback.title
help.about.source.title
help.about.source
help.section.attribution
help.attr.data_sources
help.attr.mining
help.attr.search
help.attr.software
help.attr.leaflet
dialog.cancel
dialog.save
dialog.save-local
dialog.delete
dialog.close
dialog.done
error.nominatim.expl
warning.browser.title
warning.browser.expl.2
warning.incomplete.title
warning.incomplete.expl.2
warning.incomplete.not_again
warning.incomplete.remote.expl.2
warning.share.long
data_stats.request_duration
data_stats.lag
data_stats.lag_areas
popup.tags
popup.metadata

These are the keys that should be translated:

load.saved_queries-osm
load.saved_queries-osm-loading
load.saved_queries-osm-error
export.raw_data
export.format_text_wiki
export.editors
export.map_view.permalink_osm
help.intro.0
help.intro.1
help.intro.1b
help.intro.2
help.queries.expl
help.intro.shortcuts.style
help.intro.shortcuts.more
help.about.feedback
help.attr.data
help.attr.tiles
dialog.save-osm
warning.browser.expl.1
warning.browser.expl.3
warning.incomplete.expl.1 
warning.incomplete.remote.expl.1
data_stats.lag.expl

We don't have an issue template for translation but we should. I'd be happy to install a template that your project likes and is comfortable using.

Change #1048535 had a related patch set uploaded (by Wangombe; author: Wangombe):

[translatewiki@master] Add OpenHistoricalMap's Overpass Turbo instance to translatewiki.net

https://gerrit.wikimedia.org/r/1048535

Change #1048535 merged by jenkins-bot:

[translatewiki@master] Add OpenHistoricalMap's Overpass Turbo instance

https://gerrit.wikimedia.org/r/1048535

The project is now available for translation on translatewiki.net: https://translatewiki.net/wiki/Special:Translate/ohm-overpass-turbo

@EricTheise, can you confirm that the translatewiki.net bot has access to commit translations to the main branch?

Exports failed due to lack of permission:

Error Output:                                                                
================                                                             
ERROR: Permission to OpenHistoricalMap/overpass-turbo.git denied to transla  
tewiki.                                                                      
fatal: Could not read from remote repository.                                
                                                                             
Please make sure you have the correct access rights

@EricTheise, can you please give the translatewiki.net bot access to commit translations to the main branch?

Should be set now, @abi_, apologies for my delay here.

Also, I'd be happy to install a issue template for translation you provide me with one that meets your needs.

Thanks for all your work!