feat(i18n): add Polish (pl) localization - #250
Conversation
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
1e2d8fd to
80c4ed5
Compare
Adds `public/locales/pl/*` for all eleven namespaces — auth, chores, common, filters, history, labels, points, projects, settings, things, timer — covering every key currently in `public/locales/en` on develop. Two one-line source changes are needed for it to work: - `LocalizationContext.jsx` — registers `pl` in AVAILABLE_LANGUAGES, so the language shows up in the picker. - `i18n/config.js` — `import 'moment/locale/pl'` so dates and relative times render in Polish when `pl` is selected. Notes for review: - Plural forms use the full Polish CLDR set (`_one/_few/_many/_other`). - Terminology is held consistent across all namespaces. - No English strings were changed, and no keys were added or removed. - `eslint`, `prettier -c .`, `npm run lint:i18n` and `npm run build` are all green.
80c4ed5 to
d5bf552
Compare
Note on GitGuardian Security CheckThe initial check flagged a false positive from GitGuardian's Following the precedent in the Russian localization PR (#238), |
Adds
public/locales/pl/*for all eleven namespaces — auth, chores, common, filters, history, labels, points, projects, settings, things, timer — covering every key currently inpublic/locales/enondevelop.Two one-line source changes are needed for it to work:
LocalizationContext.jsx— registersplinAVAILABLE_LANGUAGES, so the language appears in the picker.i18n/config.js—import 'moment/locale/pl'. Without it the UI translates but dates and relative times stay in English.Notes for review
_one/_few/_many/_other). Polish has three main plural categories plus other for decimals/fractions — all pluralized keys include the complete set so counts like 1, 2-4, and 5+ render with proper grammar.eslint,prettier -c .,npm run lint:i18nandnpm run buildare all green on this branch.