Skip to content
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

valid tags in langtags return null #18

Open
DavidLRowe opened this issue May 22, 2024 · 5 comments
Open

valid tags in langtags return null #18

DavidLRowe opened this issue May 22, 2024 · 5 comments

Comments

@DavidLRowe
Copy link
Contributor

GT reports:
I ran the mui-language-picker deployment script and it identified the following tags are missing at lff.api.languagetechnology.org/lang:
Request failed with status code 404: bap-Krai
Request failed with status code 404: elx
Request failed with status code 404: gvr-Gukh
Request failed with status code 404: kru-Tols
Request failed with status code 404: kyw-Chis
Request failed with status code 404: suz-Sunu
Request failed with status code 404: tcy-Tutg
Request failed with status code 404: tyj-Tayo
Request failed with status code 404: unr-Onao
Request failed with status code 404: wo-Gara

Also: using the und language code to look up the Script tag also doesn't work for these scripts (with elx being the Pelm script).

@DavidLRowe
Copy link
Contributor Author

IIUC you're expecting that any tag from langtags should return something from the LFF API, even if it is only an empty list. Is that right?

@LornaSIL
Copy link
Contributor

So, I think script2font.csv needs updating to the newest ISO 15924 code additions.

The Pelm one is misspelled in our table and we have a double-entry for Perm which is actually Old Permic.

I don't think there will be fonts yet since all by Pelm are going into Unicode 16.0 (Sept 2024), but I'm happy to update this file with what is available, BUT is this file the authoritative source or is it derived from somewhere else?

@DavidLRowe
Copy link
Contributor Author

Yes, updates to script2font.csv should be made in this repository. Thanks!

@LornaSIL
Copy link
Contributor

I think this is fixed now. Now the error is LDML SERVER ERROR: No file was found to match your request: elx. which probably means there is no sldr file for it.

@DavidLRowe
Copy link
Contributor Author

@gtryus Lorna updated the list of scripts and fixed a typo. I don't think the LFF service will return a font for some of these scripts, since there are no fonts listed in the .csv file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants