Инициализация интернационализации. Перевод на en, ru для эндпоинтов api/v1

This commit is contained in:
parent 48e8551b0e
commit 9ac52c8a8b
16 changed files with 990 additions and 181 deletions

39
SRV/babel.cfg Normal file
View file

@ -0,0 +1,39 @@
[python: api/v1/**.py]
encoding = utf-8
extract_messages = _
domain = api_v1
[python: services/**.py]
encoding = utf-8
extract_messages = _
domain = services
[python: config/**.py]
encoding = utf-8
extract_messages = _
domain = config
[python: core/**.py]
encoding = utf-8
extract_messages = _
domain = core
[python: models/**.py]
encoding = utf-8
extract_messages = _
domain = models
[python: storage/**.py]
encoding = utf-8
extract_messages = _
domain = storage
[python: utils/**.py]
encoding = utf-8
extract_messages = _
domain = utils
[python: *.py]
encoding = utf-8
extract_messages = _
domain = main