i18n translation other than en break bot commands
See original GitHub issueTraceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/ubuntu/titus/BTB-manager-telegram/btb_manager_telegram/__main__.py", line 149, in <module>
main()
File "/home/ubuntu/titus/BTB-manager-telegram/btb_manager_telegram/__main__.py", line 97, in main
from btb_manager_telegram import handlers
File "/home/ubuntu/titus/BTB-manager-telegram/btb_manager_telegram/handlers.py", line 665, in <module>
FALLBACK_HANDLER = CommandHandler(i18n.t("keyboard.fb_cancel"), cancel)
File "/home/ubuntu/titus/BTB-manager-telegram/venv/lib/python3.8/site-packages/telegram/ext/commandhandler.py", line 163, in __init__
raise ValueError('Command is not a valid bot command')
ValueError: Command is not a valid bot command
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
I18n in Go: Managing Translations - Alex Edwards
In this tutorial I want to explain how you can use golang.org/x/text packages to manage translations in your application. Specifically:.
Read more >Angular i18n: internationalization & localization with examples
Angular I18n uses the built-in module for internationalization. Learn how to set up I18n, perform translations, and deploy the app.
Read more >Work with translation files - Angular
Copy the source language file to create a translation file for each language ... The extract-i18n command creates files in the following translation...
Read more >i18next/i18next-scanner: Scan your code, extract ... - GitHub
Scan your code, extract translation keys/values, and merge them into i18n resource files. - GitHub - i18next/i18next-scanner: Scan your code, ...
Read more >Rails Internationalization (I18n) API - Ruby on Rails Guides
The I18n library will use English as a default locale, i.e. if you don't set a different locale, :en will be used for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Pushed 😃 thanks for the help
Did the trick