Skip to content

Commit 3414ffc

Browse files
committed
docs: fix the new locale catalog path
1 parent 785e5dc commit 3414ffc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ each locale's `.po` file and compiles the binary `.mo` catalogs.
242242
How to add a new locale:
243243

244244
```sh
245-
msginit -i humanize.pot -o humanize/locale/<locale name>/LC_MESSAGES/humanize.po --locale <locale name>
245+
mkdir -p src/humanize/locale/<locale name>/LC_MESSAGES
246+
msginit -i humanize.pot -o src/humanize/locale/<locale name>/LC_MESSAGES/humanize.po --locale <locale name>
246247
```
247248

248249
Where `<locale name>` is a locale abbreviation, eg. `en_GB`, `pt_BR` or just `ru`, `fr`

0 commit comments

Comments
 (0)