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

FEAT: Add more support and sync with Discourse allowed locales #141

Merged
merged 1 commit into from
May 8, 2024

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented May 7, 2024

There are some I18n.locales which are not mapped to Amazon available languages in https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html, important ones like en_GB, pt_BR, zh_CN, etc. Not having these mappings would result in a 500 error due to absent param.

This updates our mapping list to the locale's most appropriate mappings, and also rearranges the locales by alphabetical order.

(The 500 should be handled in a separate PR)

@nattsw nattsw merged commit eb55d60 into main May 8, 2024
3 checks passed
@nattsw nattsw deleted the update-amazon-supported-lang branch May 8, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants