Answer the question
In order to leave comments, you need to log in
How to make i18n aiogram dynamic translation?
How to do dynamic text translation in aiogram?
That is, look, I have a database to which nothing is added, that is, the data is known there, and when I create a keyboard with this data, I need to translate them if necessary, here is an example
for item in all_items:
keyboard.add(KeyboardButton(text=_(item.name)))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question