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

Co-op Translator Bot: Automatic Translation Update and Pull Request Creation Using GitHub Actions #70

Open
2 tasks done
skytin1004 opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@skytin1004
Copy link
Collaborator

skytin1004 commented Jan 17, 2025

Describe the feature you'd like

Automatic Translation Updates & Pull Request Creation by Co-op Translator Bot

I would like to introduce a GitHub Action that automatically checks for changes made to the original (source) version of a document or file. Whenever a modification is detected, this Action should trigger Co-op Translator to update the corresponding multilingual translation files for each target language. Finally, it should automatically open a pull request (PR) for these updated translations.

The GitHub Action would:

  1. Detect changes in the main branch (or the designated source branch).
  2. Run Co-op Translator Bot to generate the updated translation files.
  3. Open a pull request with the updated translations.

Note

This automated process should include proper error handling to detect and report any translation failures or merge conflicts.
The Co-op Translator Bot ensures clear and concise commit messages and PR descriptions, providing reviewers with a comprehensive understanding of the changes and their purpose.

Image

Problem this feature solves

Currently, whenever the source content changes, contributors must manually update translation files to keep them in sync. This can be time-consuming, error-prone, and easy to overlook.

Alternatively, if contributors are already using the existing Co-op Translator, they may need to delete outdated files and re-run the tool via the terminal, which adds unnecessary complexity to the workflow.

By automating the translation update process, we ensure that all translated versions remain up-to-date with minimal human intervention. This also speeds up collaboration, reduces merge conflicts, and provides a more seamless workflow for maintainers and contributors.

Alternatives considered

No response

Additional context

Are you willing to submit a pull request to implement this feature?

  • I am willing to submit a pull request

Code of Conduct

  • I agree to follow this project's Code of Conduct
@skytin1004 skytin1004 added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant