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

[JN-1416] Add language texts for 10 new languages #1364

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

MatthewBemis
Copy link
Member

@MatthewBemis MatthewBemis commented Jan 6, 2025

DESCRIPTION (include screenshots, and mobile screenshots for participant UX)

Per LanguageScientific, this adds 10 new languages and updates our Spanish language texts.

TO TEST: (simple manual steps for confirming core behavior -- used for pre-release checks)

Restart AdminApiApp
Confirm language texts repopulate without error
select count(*) from language_text; should yield about 1800 rows

{"keyName": "navbarDashboard", "text": "Tablero", "language": "es"},
{"keyName": "navbarChangePassword", "text": "Cambiar Contraseña", "language": "es"},
{"keyName": "navbarLogout", "text": "Cerrar Sesión", "language": "es"},
{"keyName": "navbarDashboard", "text": "Panel de control", "language": "es"},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file in particular is interesting to look at because it basically shows us Google Translate versus a professional translation service

@MatthewBemis MatthewBemis changed the title [JN-1416] Add language texts for 11 new languages [JN-1416] Add language texts for 10 new languages Jan 6, 2025
Copy link
Collaborator

@connorlbark connorlbark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

maybe this is totally redundant, but would it be worth making a test that makes sure there are at least some language texts populated for all of these languages? just to make sure something doesn't blow up and we lose a language.

@devonbush
Copy link
Collaborator

devonbush commented Jan 6, 2025

Yeah, that sounds like a reasonable test. I was surprised that we're now escaping / in translation files as \/ I think React handles that escaping for us, but I guess it can't hurt

@MatthewBemis MatthewBemis force-pushed the mb-jn-1416-language-texts branch from 5e37a66 to ed03b48 Compare January 8, 2025 16:58
Copy link

sonarqubecloud bot commented Jan 8, 2025

@MatthewBemis MatthewBemis merged commit 43eab3c into development Jan 8, 2025
19 checks passed
@MatthewBemis MatthewBemis deleted the mb-jn-1416-language-texts branch January 8, 2025 17:17
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.

3 participants