Skip to main content

@arcscord/adapter-i18next

The official i18next adapter initializes an isolated i18next instance or uses an already initialized custom instance. It preserves i18next selector typing, fixed-locale runtime translation, namespaces, and resource filtering for Discord metadata.

Runtime translations use the native fixed t function. Discord metadata accepts native i18next selectors or string keys through discord(...).

nameLocalizations: localization.discord($ => $.commands.ping.name)
pnpm add arcscord @arcscord/adapter-i18next i18next