You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Example: Translate to Spanish, French, German. Add -y to auto-confirm.
56
+
translate -l "all" -y # <--- MODIFY THIS LINE with your desired languages
57
+
# translate -l "zh tw hk fr ja ko pt es de fa pl hi" -y
58
+
59
+
- name: Authenticate GitHub App
60
+
id: generate_token
61
+
uses: tibdex/github-app-token@v1
62
+
with:
63
+
app_id: ${{ secrets.GH_APP_ID }}
64
+
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
65
+
66
+
- name: Create Pull Request with translations
67
+
uses: peter-evans/create-pull-request@v5
68
+
with:
69
+
token: ${{ steps.generate_token.outputs.token }}
70
+
commit-message: "🌐 Update translations via Co-op Translator"
71
+
title: "🌐 Update translations via Co-op Translator"
72
+
body: |
73
+
This PR updates translations for recent changes merged into the `main` branch.
74
+
75
+
### 📋 Summary of Changes
76
+
- Translated markdown content has been added under the `translations/` directory
77
+
- Translated images (if applicable) have been generated in the `translated_images/` directory
78
+
79
+
🔁 Co-op Translator ensures that changes in links, structure, or inline elements in the original content are automatically reflected in all translated files.
80
+
81
+
---
82
+
🌐 This pull request was automatically generated by [Co-op Translator](https://github.com/Azure/co-op-translator), powered by Azure AI.
0 commit comments