Skip to main content

Debugging

For debugging purposes if you specify the language as debug, nestjs-i18n will only return the translation key instead of the actual translation.

i18n.t('test.HELLO', {args: { username: 'Toon' }, lang: 'debug'})
// => test.HELLO