Skip to content

Add translatable enforcement type options - #2831

Open
lokendra005 wants to merge 1 commit into
openstreetmap:mainfrom
lokendra005:fix-enforcement-translations
Open

Add translatable enforcement type options#2831
lokendra005 wants to merge 1 commit into
openstreetmap:mainfrom
lokendra005:fix-enforcement-translations

Conversation

@lokendra005

Copy link
Copy Markdown

Add translatable English option labels for the nine values on Key:enforcement, preserving their OSM tag values. For example, check becomes “Checkpoint” and mindistance becomes “Minimum Following Distance”.

Closes #2149. This follows ak8abhinay's discussion and the maintainer's August 5 guidance. Suggestions remain enabled because Relation:enforcement documents additional values.

Taginfo, through September 7, 2026: maxspeed 28,872; traffic_signals 6,839; toll 3,177; average_speed 1,775; access 670; check 350; maxweight 171; maxheight 111; mindistance 17.

Validation: npm run build, npm run dist, npm test (3 tests), and npm run lint pass. Local source and distribution assertions fail on base and pass with the patch; all nine labels reach the English bundle and Transifex source artifact. Interactive PR preview remains pending.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

🍱 Your pull request preview is ready

Please use this preview to check your changes. Ideally use the test documentation template and document your test results by commenting on the PR. This will speed up the review process for everyone.

Use the Compare View on the Tagging Schema Browser (alpha) to see the changes of your PR against the main branch.

FYI, once this PR is merged, you can use the iD Editor Preview to test your changes in interaction with all other changes.

@matkoniecz matkoniecz added new-value adds value(s) to existing field new-label changes the name, aliases or terms of a preset and removed new-value adds value(s) to existing field labels Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-label changes the name, aliases or terms of a preset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide translatable values in enforcement= values for enforcement relations

2 participants