Skip to content

Commit ffb28f4

Browse files
authored
Update Azure credentials and translation languages
1 parent 5659f80 commit ffb28f4

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/co-op-translator.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ jobs:
3333
env:
3434
PYTHONIOENCODING: utf-8
3535
# Azure AI Service Credentials
36-
AZURE_AI_SERVICE_API_KEY: ${{ secrets.AZURE_AI_SERVICE_API_KEY }}
36+
AZURE_SUBSCRIPTION_KEY: ${{ secrets.AZURE_SUBSCRIPTION_KEY }}
3737
AZURE_AI_SERVICE_ENDPOINT: ${{ secrets.AZURE_AI_SERVICE_ENDPOINT }}
38+
AZURE_AI_SERVICE_API_KEY: ${{ secrets.AZURE_AI_SERVICE_API_KEY }}
3839

3940
# Azure OpenAI Credentials
4041
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
@@ -54,11 +55,12 @@ jobs:
5455
# =====================================================================
5556
# Example: Translate to Spanish, French, German. Add -y to auto-confirm.
5657
# translate -l "all" -y # <--- MODIFY THIS LINE with your desired languages
57-
# translate -l "ar ur tl mr ne pa bn ru mo" -y
58-
# translate -l "br it tr el th sv da no" -y
59-
translate -l "vi id ms sw hu cs" -y
60-
# translate -l "sk ro bg sr hr sl ja uk my" -y
61-
58+
# Recommendation for large batches over 29 files run them in batches maximum github runner time is 6 hours
59+
translate -l "zh tw hk fr ja ko pt es de fa pl hi" -y
60+
# translate -l "ru ar ur mo ja bn mr ne pa br it tr" -y
61+
# translate -l "el th sv da no fi nl he vi id ms tl" -y
62+
# translate -l "sw hu cs sk ro bg sr hr sl uk my" -y
63+
6264
- name: Authenticate GitHub App
6365
id: generate_token
6466
uses: tibdex/github-app-token@v1
@@ -90,3 +92,4 @@ jobs:
9092
add-paths: |
9193
translations/
9294
translated_images/
95+

0 commit comments

Comments
 (0)