-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken language codes #16
Comments
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 (glossarist/glossarist-desktop#49) |
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. |
I thought ISO/TC 211 glossary uses correct language codes as of geolexica/isotc211.geolexica.org#110 🤔 |
They have been fixed in spreadsheets recently (geolexica/isotc211.geolexica.org#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 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… |
Language codes in data are fixed. No more need for preprocessing them on site generation. See: geolexica/isotc211-glossary#16
Language codes in data are fixed. No more need for preprocessing them on site generation. See: geolexica/isotc211-glossary#16
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 |
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 geolexica/isotc211.geolexica.org#110).
The text was updated successfully, but these errors were encountered: