Skip to content

translations

Translated interfaces: no literal text in components, and message files that parse and stay complete in every locale. It requires javascript.

Check Stage Level What it does
translations/messages push recommended Checks the next-intl JSON/ICU files under translations.messages_folder: each message parses, none stays empty, and each locale holds all keys of the base.
Setting What it sets
translations.base_locale The locale whose message keys every other locale must contain.
translations.messages_folder The folder of the <locale>.json message files, relative to the repository root.

gspot selects it in a scope with dependencies next-intl, react-i18next, i18next, react-intl, @lingui/core.

Rule file Installed when
.gspot/configurations/library/translations/rules/NEXT-INTL.md The repository has dependencies next-intl.
.gspot/configurations/library/translations/rules/TRANSLATIONS.md Always
Tool Version
eslint-plugin-i18next 6.1.5