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

Discuss whether translations (e.g. for Nuclei messages) could be at least partly automated #872

Open
kazet opened this issue Mar 25, 2024 · 2 comments

Comments

@kazet
Copy link
Member

kazet commented Mar 25, 2024

E.g. a bot can submit PRs for missing translations

@kshitijk4poor
Copy link
Collaborator

an automated translation workflow using GitHub Actions to translate English text files to Polish within the repository can be implemented. Whenever new commits modifying files in the artemis/reporting/modules/nuclei/translations/en_US/LC_MESSAGES/ directory are pushed to the main branch, the workflow will checkout the repo, set up a Python environment, install the libretranslate library, iterate through the English files (specifically messages.po), translate them to Polish using LibreTranslate, and commit the translated Polish files to the corresponding artemis/reporting/modules/nuclei/translations/pl_PL/LC_MESSAGES/messages.po path.

@kazet
Copy link
Member Author

kazet commented Apr 9, 2024

Hello,

The most work in translations is performed not in translating https://github.com/CERT-Polska/Artemis/blob/main/artemis/reporting/modules/nuclei/translations/en_US/LC_MESSAGES/messages.po (this one is 10 months old) but when translating Nuclei module errors (adding new entries https://github.com/CERT-Polska/Artemis/blob/main/artemis/reporting/modules/nuclei/translations/nuclei_messages/pl_PL.py if during scanning a module detects a vulnerability). Translating all Nuclei messages upfront is not feasible, as there are thousands of them.

Do you have a plan to tackle that?

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

No branches or pull requests

2 participants