Skip to content

Commit

Permalink
chore: fix docs (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastibuck authored Jul 20, 2023
1 parent be928b8 commit 3c494b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/next-international/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ You can write locales using nested objects instead of the default dot notation.
```ts
// locales/en.ts
export default {
hello: 'Hello',
hello: {
world: 'Hello world!',
nested: {
Expand All @@ -398,13 +397,12 @@ It's the equivalent of the following:

```ts
export default {
'hello': 'Hello',
'hello.world': 'Hello world!',
'hello.nested.translations': 'Translations'
} as const
```

### Change and get the current locale
### Change and get current locale

<details>
<summary>Pages Router</summary>
Expand Down

0 comments on commit 3c494b1

Please sign in to comment.