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

Fix #558 #567

Merged
merged 5 commits into from
Mar 1, 2024
Merged

Fix #558 #567

merged 5 commits into from
Mar 1, 2024

Conversation

eb1
Copy link
Contributor

@eb1 eb1 commented Mar 1, 2024

Fixes #558 .

Changes proposed in this request:

  • Replace existing languages list with one refactored / minimized from https://ldml.api.sil.org/langtags.json, which contains autonyms and a more complete set of ISO 639 tags. This set can be fairly quickly updated when new versions of langtags.json are released.
  • Language display / suggestions in the source and target language configuration steps now use the autonym / "native" language name if available, falling back on the English name for the language.
  • release version bump to 1.16.0. Still need to do more testing before release.

@adapt-it/developers

eb1 added 5 commits February 26, 2024 13:21
Add Native_Name where possible (639-2 codes)
Basic structure working. Source refactored / minimized from https://ldml.api.sil.org/langtags.json, which means we can pull in updates when needed. Still need to do some build cleanup, and verify that our RFC5646 code is getting built correctly.
Add some helper code to suggest / auto-add the language name. Looks like we're okay with RFC5646 compliance.
Check in minified langtags. Ideally this would be generated by the pre-build from the langtags.js in the scripts directory, but we only need to generate this a couple times a year.
@eb1 eb1 merged commit 0436f50 into adapt-it:master Mar 1, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Use native language names where possible
1 participant