Skip to content

Commit b37162a

Browse files
abutbuldavida-ps
andauthored
feat(i18n): add multilingual wiki scaffolding, language switcher, and… (#212)
* feat(i18n): add multilingual wiki scaffolding, language switcher, and translation QA pipeline * docs(readme): adopt picoclaw-style multilingual link bar * fix(i18n): repair localized index links and tighten partial-pair QA * ci(i18n): fail on broken markdown links in README/wiki * ci(i18n): add changed-files mode for markdown link checks * i18n(de): use local Argos MT to fill untranslated German sections * i18n(es,fr): fill untranslated sections via local Argos workflow * i18n(ja): fill untranslated sections with scoped local Argos pass * i18n(ko): fill untranslated sections with scoped local Argos pass * fix(i18n): address review feedback --------- Co-authored-by: David Abutbul <David.a@prompt.security>
1 parent 627d20b commit b37162a

105 files changed

Lines changed: 13084 additions & 2 deletions

File tree

Some content is hidden

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

.github/workflows/i18n-qa.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: i18n QA
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
paths:
7+
- 'README*.md'
8+
- 'wiki/**/*.md'
9+
- 'scripts/i18n/**'
10+
- '.github/workflows/i18n-qa.yml'
11+
workflow_dispatch:
12+
13+
permissions: read-all
14+
15+
jobs:
16+
i18n-qa:
17+
name: Translation Integrity Checks
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
with:
22+
fetch-depth: 0
23+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
24+
with:
25+
python-version: '3.12'
26+
- name: Run i18n QA
27+
run: python scripts/i18n/qa_check.py
28+
29+
- name: Check markdown links (README/wiki)
30+
run: |
31+
if [ "${{ github.event_name }}" = "pull_request" ]; then
32+
python scripts/i18n/link_check.py --changed-only --base-ref "origin/${{ github.base_ref }}"
33+
else
34+
python scripts/i18n/link_check.py
35+
fi

0 commit comments

Comments
 (0)