ideditor / schema-builder

🏗🏷 Create tagging schemas for iD
ISC License
12 stars 16 forks source link

Extend Transifex developer notes for label and name about `locationSet.include` countries #93

Closed tordans closed 1 year ago

tordans commented 1 year ago

With this PR, it becomes easier for translators to skip local presets. It adds notes on local presets to the Transifex developer notes.

It is based on the field locationSet: ['de'] which exists for fields and presets. However, we only look at locationSet.includes for those notes. We skip locationSet.excludes because that would suggest that a translation is not needed, which can be wrong in cases, where the keys are reused / referenced in another preset. The translation is only done once but have multiple references with different locationSets.

Related

Closes https://github.com/ideditor/schema-builder/issues/27

tordans commented 1 year ago

FYI I created https://github.com/openstreetmap/id-tagging-schema/pull/825 as a follow up for this to explain how this new feature can be used.