Title: Setting up multiple languages for the bot · Issue #1657 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Setting up multiple languages for the bot · Issue #1657 · python-telegram-bot/python-telegram-bot
X Title: Setting up multiple languages for the bot · Issue #1657 · python-telegram-bot/python-telegram-bot
Description: We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.
Open Graph Description: We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.
X Description: We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Setting up multiple languages for the bot","articleBody":"I am trying to implement a chatbot with various languages. The language depends on the chatbot token that is being used (there are multiple). \r\nI would like to set up a \"lang\" parameter in every context/update, in every handler. I didn't find a meaningful way to do this using persistence.\r\n```\r\n\r\ndef start(update, context):\r\n update.message.reply_text( strings_dict[context[\"lang\"]][\"string_nr_1\"], \r\n reply_markup=markup)\r\n```\r\n\r\n","author":{"url":"https://github.com/popovvasile","@type":"Person","name":"popovvasile"},"datePublished":"2019-12-05T20:16:14Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1657"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:8e27173a-22ef-2a61-22bb-c6efd2183740 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92FC:1DC4CC:26840DB:32E5B09:6B026CD0 |
| html-safe-nonce | cec84fdc544ad382ba4a120dace04b457b301d7a35c761e2d28dee6664e7ce1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkZDOjFEQzRDQzoyNjg0MERCOjMyRTVCMDk6NkIwMjZDRDAiLCJ2aXNpdG9yX2lkIjoiMTg4MTE4NzEwMDM5MzYzMDkyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e444089c5543bc500e64c2720ec5d3ae3f95080cf53b1b7475185beb7c39a309 |
| hovercard-subject-tag | repository:38696925 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/issues/1657 |
| twitter:image | https://opengraph.githubassets.com/5393ec57538849bb0cc6331553beb3e47db3148a3a6906c59994692df4f32d94/python-telegram-bot/python-telegram-bot |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5393ec57538849bb0cc6331553beb3e47db3148a3a6906c59994692df4f32d94/python-telegram-bot/python-telegram-bot |
| og:image:alt | We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width