From 3414ffc0c19496b822afd8eacc5a1d82289e95f4 Mon Sep 17 00:00:00 2001 From: Huanyi Xie <74809554+xiehuanyi@users.noreply.github.com> Date: Wed, 7 Oct 2026 13:55:35 +0300 Subject: [PATCH] docs: fix the new locale catalog path --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e14dec69..a37e827e 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,8 @@ each locale's `.po` file and compiles the binary `.mo` catalogs. How to add a new locale: ```sh -msginit -i humanize.pot -o humanize/locale//LC_MESSAGES/humanize.po --locale +mkdir -p src/humanize/locale//LC_MESSAGES +msginit -i humanize.pot -o src/humanize/locale//LC_MESSAGES/humanize.po --locale ``` Where `` is a locale abbreviation, eg. `en_GB`, `pt_BR` or just `ru`, `fr`