Skip to content

Commit 0c0c9a9

Browse files
xiehuanyihugovk
authored andcommitted
docs: fix the new locale catalog path
1 parent 318888d commit 0c0c9a9

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
@@ -253,7 +253,8 @@ each locale's `.po` file and compiles the binary `.mo` catalogs.
253253
How to add a new locale:
254254

255255
```sh
256-
msginit -i humanize.pot -o humanize/locale/<locale name>/LC_MESSAGES/humanize.po --locale <locale name>
256+
mkdir -p src/humanize/locale/<locale name>/LC_MESSAGES
257+
msginit -i humanize.pot -o src/humanize/locale/<locale name>/LC_MESSAGES/humanize.po --locale <locale name>
257258
```
258259

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

0 commit comments

Comments
 (0)