diff --git a/python/web/README.md b/python/web/README.md index 69a4df71..e44c754c 100644 --- a/python/web/README.md +++ b/python/web/README.md @@ -62,7 +62,7 @@ Once this is done, it is time to localize the Python code. The below steps are d First, generate the raw messages.pot file containing extracted strings. ``` -$ pybabel extract -F babel.cfg -o messages.pot . +$ pybabel extract -F babel.cfg -o messages.pot src ``` ### Initialize a new localization diff --git a/python/web/translation_update.sh b/python/web/translation_update.sh index fa448862..ac9d2e22 100755 --- a/python/web/translation_update.sh +++ b/python/web/translation_update.sh @@ -10,7 +10,7 @@ fi source venv/bin/activate -pybabel extract -F babel.cfg -o messages.pot . +pybabel extract -F babel.cfg -o messages.pot src pybabel update -i messages.pot -d src/translations echo