Localization of the bot #2066
Unanswered
painkkiller
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I decided to localize my bot and for this perpose I used
ctx.from.language_code
field. I thought it takes value fro user's language Settings. I've changed language to English in my telegram settings at all my devices but I still getting "ru" inctx.from.language_code
. And this library https://github.com/telegraf/telegraf-i18n based on this field too. So are there any ways to localize and to test localization in bots?Beta Was this translation helpful? Give feedback.
All reactions