Skip to content

Commit bcb2087

Browse files
committed
docs: Fix public path reference
1 parent 83ad0e3 commit bcb2087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/i18n/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ However, it does have one major downside:
4949
helloWorld: Hello world!
5050
```
5151
52-
> `@wxt-dev/i18n` supports the standard messages format, so if you already have localization files at `<srcDir>/public/_locale/<lang>/messages.json`, you don't need to convert them to YAML or refactor them - just move them to `<srcDir>/locales/<lang>.json` and they'll just work out of the box!
52+
> `@wxt-dev/i18n` supports the standard messages format, so if you already have localization files at `<rootDir>/public/_locale/<lang>/messages.json`, you don't need to convert them to YAML or refactor them - just move them to `<srcDir>/locales/<lang>.json` and they'll just work out of the box!
5353

5454
4. To get a translation, use the auto-imported `i18n` object or import it manually:
5555

0 commit comments

Comments
 (0)