the signals and their derived score are provisional and subject to change.
validate manually before sharing.
6e65d9b3fcea3a963c6b7d56c6a8523f6099d9b5none
---
name: translate-new-strings
description: Use this when there are new strings in the UI that need translation
---
Your job is to translate new strings in the UI into all supported languages.
Do not inspect the i18n setup or the codebase, as this wastes tokens and can expose sensitive information.
Follow these steps exactly in order:
1. Run `node scripts/translate-new-strings.js --what-needs-translation` to get a list of new strings that need translation, languages that need the strings translated into---
name: refactor-translations
description: Use this when existing translatable strings have been modified structurally (e.g. "%0" -> "{{PLACEHOLDER}}", "foo\n" -> "foo", or renaming, splitting, or joining keys)
---
1. Run `npx i18next-cli extract`
2. Run `git diff core/locales/en/translation.json` and review the new translations and the relations to the old strings and keys. If there are new or modified strings that require translation work, proceed but skip these until the end. (We still don't want to r---
name: add-new-locale
description: Add support for a new language
---
- Run `npm run new-locale -- $NEW_LANG`
- Replace every translation value in `core/locales/$NEW_LANG/translation.json` with a localized string, while preserving the keys.
- Update the changelog.
- Run `npm run lint`
- Commit with "Add [Some Language] locale" with the AI prompt in the description (but no AI explanation part).
- If I ask for a new language, I am assigning you the task of translation. You are not done until every string none