Traduire la valeur des attributs OSM ?
publié le , mis à jourDans le cas reporté sur https://mastodon.social/@capradellenevi@mastodon.uno/116887184117135093, il s'agit juste de traduire "non". Est-ce qu'on fait un cas particulier (test si la valeur est "non"), ou est-ce qu'il faut une approche plus générale pour traduire la valeur des attributs ?
À noter : on dirait que "oui" est traduit :)
n4n5
Le bug vient d'ici
/api/tag-translationsn4n5
@laem le fichier
app/api/tag-translations/route.tscontient pas mal de traduction FR, on pourrait pas mettre cette partie dans le front ?Et garder que l'appel pour acès aux traduction dans les json ?
laem
On a pas mal de choses à faire à ce sujet.
- intégrer nos traductions FR dans le repo en amont plutôt que bosser dans notre coin, voir si ce "oui" y est traduit ou si c'est que les clefs
- maj le repo en amont qui a fait un saut majeur de version donc des changements cassants.
"@openstreetmap/id-tagging-schema": "^6.14.0"
matkoniecz
for translations in iD tagging schema: not only keys are translated, values are at least sometimes translated
see say https://www.openstreetmap.org/edit?editor=id#map=24/49.43246262/2.08097038 which has example of translated (in blue), not translated yet and not translatable values
see https://codeberg.org/cartes/web/issues/2990#issuecomment-22664197 for more iD-specific info, useful if someone would want to help with translation (coding not needed at all or is quite simple)
etienneJr
@laem wrote in https://codeberg.org/cartes/web/issues/2502#issuecomment-22471378:
- maj le repo en amont qui a fait un saut majeur de version donc des changements cassants.
Le guide de migration est ici https://github.com/openstreetmap/schema-builder/blob/v7/MIGRATION_GUIDE.md Est-ce que ça motive qq ? @n4n5 ? @severo ?
matkoniecz
content is (for now, on that page) the same but probably looking at https://github.com/openstreetmap/id-tagging-schema/blob/main/MIGRATION_GUIDE.md#v7-migration-guide is better
(see https://github.com/openstreetmap/id-tagging-schema/issues/2449#issuecomment-5641779491 )
etienneJr
@matkoniecz wrote in https://codeberg.org/cartes/web/issues/2502#issuecomment-22688968:
content is (for now, on that page) the same but probably looking at https://github.com/openstreetmap/id-tagging-schema/blob/main/MIGRATION_GUIDE.md#v7-migration-guide is better
Thanks, I haven't find it since on this page the link is broken https://github.com/openstreetmap/id-tagging-schema/releases/tag/v7.0.0
matkoniecz
thanks, that is github being silly again
I think I fixed it now