Félix Malfait
e6491d6a80
feat(i18n): fix translation QA issues and add automation ( #16756 )
...
## Summary
This PR fixes translation QA issues and adds automation to prevent
future issues.
### Translation Fixes
- Fixed **escaped Unicode sequences** in translations (e.g.,
`\u62db\u5f85` → `招待`)
- Removed **corrupted control characters** from .po files (null bytes,
invalid characters)
- Fixed **missing/incorrect placeholders** in various languages
- Deleted **35 problematic translations** via Crowdin API that had
variable mismatches
### New Scripts (in `packages/twenty-utils/`)
- `fix-crowdin-translations.ts` - Auto-fixes encoding issues and syncs
to Crowdin
- `fix-qa-issues.ts` - Fixes specific QA issues via Crowdin API
- `translation-qa-report.ts` - Generates weekly QA report from Crowdin
API
### New Workflow
- `i18n-qa-report.yaml` - Weekly workflow that creates a PR with
translation QA issues for review
### Other Changes
- Moved GitHub Actions from `.github/workflows/actions/` to
`.github/actions/`
- Fixed `date-utils.ts` to avoid nested `t` macros in plural expressions
(root cause of confusing placeholders)
### QA Status After Fixes
| Category | Count | Status |
|----------|-------|--------|
| variables | 0 ✅ | Fixed |
| tags | 1 | Minor |
| empty | 0 ✅ | Fixed |
| spaces | 127 | Low priority |
| numbers | 246 | Locale-specific |
| special_symbols | 268 | Locale-specific |
2025-12-22 17:30:46 +01:00
Félix Malfait
d76abefdee
Fix CI concurrency: prevent test cancellation on main branch ( #15188 )
...
## Problem
The concurrency rules in CI workflows were cancelling in-progress test
runs even on the main branch. This caused inconsistent check counts when
multiple commits were pushed in quick succession.
## Solution
Updated `cancel-in-progress` in all CI workflows to be conditional:
- **On main branch**: Tests run to completion (no cancellation)
- **On feature branches**: Tests are cancelled when new commits are
pushed (saves CI resources)
## Changes
Modified 11 workflow files to use:
```yaml
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
```
This ensures every commit to main gets fully tested while maintaining
efficiency on feature branches.
2025-10-18 10:50:54 +02:00
Antoine Moreaux
93d55d1bc2
chore(workflows): update permissions across GitHub Actions workflows … ( #14919 )
...
…for consistency
2025-10-06 17:36:41 +02:00
Félix Malfait
16fcaacbdb
Translation cleanup ( #13411 )
...
Remove dead translations
2025-07-24 15:33:24 +02:00
Félix Malfait
a83825f4be
Remove dead translations ( #13409 )
...
Add --clean flag to translation extraction to remove old translations
automatically
2025-07-24 14:50:57 +02:00
Félix Malfait
ba51c091f0
Improve i18n CI ( #10390 )
2025-02-21 15:42:01 +01:00
Félix Malfait
248ec4cd6f
i18n CI 7 ( #10321 )
2025-02-19 09:24:01 +01:00
Félix Malfait
7f4b5795bf
Stop showing lines on translation files ( #10313 )
2025-02-18 21:21:32 +01:00
Félix Malfait
f45f7c28f2
Improve i18n ci ( #10209 )
2025-02-14 09:56:05 +01:00
Félix Malfait
1090fb8fad
Remove localization feature flag and improve CI workflow ( #10208 )
2025-02-14 09:41:35 +01:00
Félix Malfait
05403ae247
I18n CI ( #10129 )
2025-02-11 15:58:17 +01:00
Félix Malfait
dabb140b3e
Update i18n-push.yaml ( #10127 )
2025-02-11 15:38:55 +01:00
Félix Malfait
cc68deaab1
Translations cleaning / workflows ( #10125 )
2025-02-11 15:26:21 +01:00