-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Translate QFieldCloud admin #1105
base: master
Are you sure you want to change the base?
Conversation
Task linked: DEV-1640 Translate QFieldCloud Admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind squashing to one/two commits and rebasing to latest master?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good! Let me know if the pull/push approach works and if yes, we are ready to merge!
Add django en and es po files Activate i18n and es language in django settings Add transifex pull and push gh workflows Edit pull workflow trigger conditions Remove `minimum_perc` from tx config Rename es to Spanish in Django language settings Remove minimum-perc when pulling translations from transifex Remove `makemessages` from push workflow Compile messages during pull workflow Variabilize `USE_I18N` and `LANGUAGE_CODE` in .env file Keep only en and es in settings languages Export the env variables file in pull workflow Update docker-app/qfieldcloud/settings.py Co-authored-by: Ivan Ivanov <suricactus@users.noreply.github.com> Update .env.example Co-authored-by: Ivan Ivanov <suricactus@users.noreply.github.com> Git-ignore compiled translations Add compile translations command in `README.md` Checkout repo as Duke-Nyuki when pulling translations Finalize translations push and pull CI workflows Add more CI verbosity Update .github/workflows/translations_push.yml Co-authored-by: Ivan Ivanov <suricactus@users.noreply.github.com> Set unique GH workflow that syncs translations with Transifex
d6703aa
to
1571f34
Compare
This PR sets up Django translations for QFieldCloud admin.
Spanish should be the first available language.
tx add