Add custom extract language function
Example
python
async def force_ukrainian_language(user: User, bot: Bot) -> str:
force_list = [733876760]
if user.id in force_list:
return "uk" Set force ukrainian language for account with 733876760 id
else:
return user.language_code
translator = Translator(extract_language_function=force_ukrainian_language)
**Full Changelog**: https://github.com/barabum0/aiogram-translation/compare/1.2.2...1.3