i18n: add non-English translations for C/C++/Objective-C (Wasm) - #1044
Conversation
✅ Deploy Preview for livecodes ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: 0 B Total Size: 1.16 MB ℹ️ View Unchanged
|
Deploying livecodes with
|
| Latest commit: |
3b38600
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7473fed6.livecodes.pages.dev |
| Branch Preview URL: | https://pullfrog-1043-add-non-englis.livecodes.pages.dev |
|
Fixed the failing check suite and pushed to the PR branch. Diagnosis: The failing job was E2E Fix: In both shared loops ( Verification: Commit Task list (6/6 completed)
|
The shared template loops read the click counter once right after dispatching three clicks. Stencil renders asynchronously, so the third click's re-render had not flushed when the counter was read, yielding "You clicked 2 times." and failing all retries. Wait for the counter with a retrying assertion, matching the pattern already documented for the Wasm starters.
|
i18n ActionsSource PR has been merged into the default branch. Maintainers can comment |




Follow-up to #1043, which added the C, C++, Objective-C and Objective-C++ (Wasm) languages with English source strings but left the non-English locales untranslated.
This PR adds real localized content (not English placeholders) to all 17 non-English locales:
ar,bn,de,es,fa,fr,hi,hu,id,it,ja,nl,pt,ru,tr,ur,zh-CN.New keys:
cWasm.desc/cWasm.link/cWasm.nameobjcWasm.desc/objcWasm.link/objcWasm.nameobjcppWasm.desc/objcppWasm.link/objcppWasm.nametemplates.starter.c-wasmtemplates.starter.objc-wasmUpdated keys (the runtime changed from the old
wasm-clang/polylang.iobuild to the shared Clang-Wasm runtime):cppWasm.desc/cppWasm.link/cppWasm.nameAlso fixes a pre-existing wrong label in
fa:templates.starter.cpp-wasmsaid "Go (Wasm) Starter" instead of "C++ (Wasm) Starter".objcppWasm.linkintentionally carries the same 8-tag sequence as English (no starter-template button). Every locale's placeholder sequence and.ts/.lokalise.jsonpair was verified against theensource, and the generatedlanguage-info.tsfiles were regenerated through the existing i18n pipeline (byte-identical to the previous output for untouched keys).Checks:
npx prettier --check "src/livecodes/i18n/locales/**/*.{ts,json}",npx eslint src/livecodes/i18n/locales, andnpm run test:i18n-exportall pass.DeepSeek Flash(free via Pullfrog for OSS) | 𝕏