Answer the question
In order to leave comments, you need to log in
How to make multilingual in aiogram?
I'm making a telegram bot, there were problems with adding a new language to the bot.
Yes, I read the documentation about i18n, watched videos about localization. Everything doesn’t work right from the first point, like pybabel should take text from files, but it doesn’t take anything, then I started to do everything manually, but it still doesn’t work, what should I do?
Answer the question
In order to leave comments, you need to log in
Like any multilingualism - through the replacement of the direct output of strings with a language-dependent substitution of the desired variant. You can either cut it yourself or use ready-made solutions. For example, gettext was discussed here https://qna.habr.com/q/960557
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question