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: translations for english and spanish #1

Merged
merged 7 commits into from
Jan 29, 2025
Merged

Conversation

tomasciccola
Copy link

@tomasciccola tomasciccola commented Jan 16, 2025

This PR implements translating all dialog and modal texts to Spanish grabbing the locale.
Beware that the locale in this context is NOT the browser language NOR the OS language, but the language set on the user's google account.
I've set the fallback default language to 'en' if the user locale is not yet translated

Additionally, I added another dialog to give the user some sense of the progress of generating the CoMapeo Categories. For this I'm creating a new dialog every time. And this can probably be improved by using templates and updating the dialog text in-place.

@tomasciccola tomasciccola requested a review from luandro January 16, 2025 17:53
@tomasciccola tomasciccola marked this pull request as ready for review January 29, 2025 20:04
@luandro luandro merged commit 77c2727 into main Jan 29, 2025
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.

2 participants