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 #1073

Merged
merged 2 commits into from
Oct 6, 2024
Merged

feat: translations #1073

merged 2 commits into from
Oct 6, 2024

Conversation

nikkothari22
Copy link
Member

I have added the setup & utilities for translations.

All frontend strings need to be wrapped as __("My String") or with variables: __("My String of length {0}", ["10"])

PO files generated are only for doctype/backend related files - so we need to see how we can extend it to .tsx files.

Will add more translatable strings gradually.

image

Closes #356

@nikkothari22 nikkothari22 merged commit 88d2263 into develop Oct 6, 2024
2 of 3 checks passed
@github-actions github-actions bot added the UI label Oct 6, 2024
@nikkothari22 nikkothari22 deleted the translations branch October 6, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for translations
1 participant