From 3c494b1417f087ffdd4996177d911d6935938ac7 Mon Sep 17 00:00:00 2001 From: Basti Buck Date: Thu, 20 Jul 2023 08:01:00 +0200 Subject: [PATCH] chore: fix docs (#71) --- packages/next-international/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/next-international/README.md b/packages/next-international/README.md index ced9706..c5fc5f6 100644 --- a/packages/next-international/README.md +++ b/packages/next-international/README.md @@ -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: { @@ -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
Pages Router