Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dcdef7d

Browse files
github-actions[bot]crowdin-botbjohansebas
authoredMay 28, 2025··
New Crowdin Translations (#1874)
* New Crowdin translations by GitHub Action * remove id, ru, sk, th, tr, uk, uz langs Signed-off-by: Sebastian Beltran <[email protected]> * fix index.md * ci: separates the upload of content to Crowdin from the download of content (#1864) Signed-off-by: Sebastian Beltran <[email protected]> --------- Signed-off-by: Sebastian Beltran <[email protected]> Co-authored-by: Crowdin Bot <[email protected]> Co-authored-by: Sebastian Beltran <[email protected]>
1 parent 658ab65 commit dcdef7d

File tree

725 files changed

+29675
-36670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

725 files changed

+29675
-36670
lines changed
 

‎.github/workflows/crowdin.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Crowdin Action
1+
name: Crowdin Upload
22

33
on:
44
push:
@@ -12,7 +12,6 @@ permissions:
1212
jobs:
1313
synchronize-with-crowdin:
1414
runs-on: ubuntu-latest
15-
1615
steps:
1716
- name: Checkout
1817
uses: actions/checkout@v4
@@ -22,12 +21,7 @@ jobs:
2221
with:
2322
upload_sources: true
2423
upload_translations: false
25-
download_translations: true
26-
localization_branch_name: l10n
27-
create_pull_request: true
28-
pull_request_title: 'New Crowdin Translations'
29-
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
30-
pull_request_base_branch_name: 'gh-pages'
24+
download_translations: false
3125
base_url: 'https://express.api.crowdin.com'
3226
env:
3327
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/update-external-docs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Update External Docs
2+
23
on:
34
workflow_dispatch:
45
schedule:
@@ -36,3 +37,28 @@ jobs:
3637
labels: doc
3738
team_reviewers: expressjs/docs-captains
3839
branch: external-docs-${{ github.sha }}
40+
41+
synchronize-with-crowdin:
42+
runs-on: ubuntu-latest
43+
if: github.repository_owner == 'expressjs'
44+
steps:
45+
- name: Checkout
46+
uses: actions/checkout@v4
47+
# see all the options at https://github.com/crowdin/github-action
48+
- name: Crowdin PR
49+
uses: crowdin/github-action@v2
50+
with:
51+
upload_sources: false
52+
upload_translations: false
53+
download_translations: true
54+
localization_branch_name: crowdin/translations
55+
create_pull_request: true
56+
pull_request_title: 'i18n: new crowdin translations'
57+
pull_request_body: >
58+
New Crowdin translations from the [express.js crowdin project](https://express.crowdin.com/u/projects/1). cc: @expressjs/docs-wg
59+
pull_request_base_branch_name: 'gh-pages'
60+
base_url: 'https://express.api.crowdin.com'
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
64+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.