You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ✅ **Quality**: Professional native-speaker translations (not
128
+
machine-generated)
100
129
101
130
## Testing
102
131
@@ -115,25 +144,33 @@ npm run lint && npm run typecheck && npm run test:coverage
115
144
116
145
## Pashto (ps.json) Note
117
146
118
-
The original `ps.json` file was generated by `generate-pseudo-locale.mjs` for testing purposes (to identify missing translation keys by wrapping text in `[[...]]`). It was never actually used as a language:
147
+
The original `ps.json` file was generated by `generate-pseudo-locale.mjs` for
148
+
testing purposes (to identify missing translation keys by wrapping text in
149
+
`[[...]]`). It was never actually used as a language:
150
+
119
151
- Never imported in `src/i18n.ts`
120
152
- Never listed in `supportedLngs`
121
153
- Not relevant to the project's African focus
122
154
123
-
The script still works fine - it just generates this file in the background. The important fix is removing ps from the i18n config so it can't be accidentally enabled.
155
+
The script still works fine - it just generates this file in the background. The
156
+
important fix is removing ps from the i18n config so it can't be accidentally
157
+
enabled.
124
158
125
159
## Migration Checklist for Teams Using LearnVault
126
160
127
161
- [ ] Pull latest changes
128
162
- [ ] Review new translations in `src/locales/{es,fr,sw}.json`
129
163
- [ ] Test language switching in the UI (use LanguageSelector component)
130
164
- [ ] Verify `npm run i18n-check` passes locally
131
-
- [ ] Add translations for any new keys following the workflow in `docs/i18n-setup.md`
132
-
- [ ] Update CI/CD pipeline if using a fork (frontend-ci.yml already has the check)
165
+
- [ ] Add translations for any new keys following the workflow in
166
+
`docs/i18n-setup.md`
167
+
- [ ] Update CI/CD pipeline if using a fork (frontend-ci.yml already has the
168
+
check)
133
169
134
170
## Future Improvements
135
171
136
172
Potential enhancements for consideration:
173
+
137
174
1. Add translator credits/attribution for es, fr, sw translations
138
175
2. Set up crowdsourced translation management (e.g., Crowdin, Weblate)
139
176
3. Add RTL language support (e.g., Arabic for North Africa)
0 commit comments