Skip to content

Commit df4f637

Browse files
authored
Merge pull request #652 from CreeTar/patch-1
2 parents 6ba5405 + e2fef91 commit df4f637

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/guides/nested.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ Here is an example of how this looks in your translation files
2828
```
2929

3030
```typescript
31+
i18n.t('test.PAGE_HOME.TITLE', {args: {} })
32+
// => Home to this World
33+
3134
i18n.t('test.PAGE_HOME.SUBTITLE', {args: { username: 'Toon' } })
3235
// => Hello Toon, this is the home page
3336
```
3437

3538
:::tip
3639
The [`formatter`](guides/formatting.md) is applied before doing nested translations. This way you can pass on arguments to your nested translations! 🎉
37-
:::
40+
:::

0 commit comments

Comments
 (0)