Open skalee opened 4 years ago
Maybe this is related to Glossarist? Ping @strogonoff
@strogonoff will update this in the Glossarist Desktop.
@ronaldtse Can we change IEV to match the codes?
Unassigning myself as codes in Glossarist Desktop is a separate concern (https://github.com/glossarist/glossarist-desktop/issues/49)
@ronaldtse Can we change IEV to match the codes?
Yes!
Do you mean that you want to replace valid ISO 639-2 codes used in IEV with invalid ones used in TC211 glossary? Doesn't sound like a good idea. I can adapt though.
I meant we should change everything to the correct codes.
invalid ones used in TC211 glossary
I thought ISO/TC 211 glossary uses correct language codes as of https://github.com/geolexica/isotc211.geolexica.org/issues/110 🤔
They have been fixed in spreadsheets recently (https://github.com/geolexica/isotc211.geolexica.org/issues/110 indeed), but these changes were somehow reverted at data migration.
Ah was that because Glossarist Desktop was still using the wrong language codes at the time of migration? Sorry if that.
Now that the app was updated to use the correct codes, let me run another migration against my fork of this repo. I expect the diff should be much smaller, since YAML is going to be dumped using the same formatting. I’ll check if that’s the case and will make a PR.
The other way to fix this would be to run a Ruby script to migrate YAML. If anyone is on to that already, please do let me know and re-assign to yourself (then I won’t do language migration in the app)
I think a global regex replace would be super easy...?
I can do a pull request.
Wow, I'm confused. It looks like this repo already uses corrected codes, both in tc211-termbase.meta.yaml
and in concepts. Also removing my temporary fixes which I did in TC 211 site does not break anything.
For sure there were no fixes in recent days. I don't know, maybe I was working on some broken branch of the glossary or something…
Oh right, indeed. @skalee Could you confirm there are no leftover wrong language codes on some concepts? This should be doable with a grep or a Ruby script, I suppose…
Yes @strogonoff, I confirm that there are no broken codes in concepts/concept-*.yaml
nor in tc211-termbase.meta.yaml
nor in register.yaml
nor in change-requests/*
. I suppose this issue should be closed now. Thank you!
Some languages are broken after migration.
zho
, but this repo useschi
.nld
, but this repo usesdut
.deu
, but this repo usesger
.They have been fixed in Excel recently (as in https://github.com/geolexica/isotc211.geolexica.org/issues/110).