Get a translated string by key. Supports nested keys with dot notation. Supports interpolation: t('hello', { name: 'World' }) with "hello": "Hello {{name}}!"
Optional
Static
Detect browser locale
Get a translated string by key. Supports nested keys with dot notation. Supports interpolation: t('hello', { name: 'World' }) with "hello": "Hello {{name}}!"