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

Translation automation EDLY-4796 #400

Draft
wants to merge 4 commits into
base: develop-juniper
Choose a base branch
from
Draft

Conversation

mfarhan943
Copy link

Description: Using Google Translate API to perform language translations to update the .po files and also generate csv if required.

JIRA: https://edlyio.atlassian.net/browse/EDLY-4796

write_to_csv(csv_file_path, entry.msgid_plural, entry.msgstr_plural[1], source)


if __name__ == "__main__":

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Creating a Django management command is currently challenging because of Google Cloud's incompatibility with the current edx-platform Python version. Additionally, Google authentication requires a JSON credential file. My suggestion is to continue with the current approach, but I can convert it to a management command if that is preferred.

@mfarhan943 mfarhan943 marked this pull request as draft July 27, 2023 11:14
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