Title: Add a way to override language strings without recompiling .po files · Issue #47 · python-botogram/botogram · GitHub
Open Graph Title: Add a way to override language strings without recompiling .po files · Issue #47 · python-botogram/botogram
X Title: Add a way to override language strings without recompiling .po files · Issue #47 · python-botogram/botogram
Description: Currently, the only way to override translation strings is to edit the .po files, rebuild those, and reinstall botogram with the rebuilt .mo files. That's a really bad UX, and it might cause problems with multiple bots. The proposed API ...
Open Graph Description: Currently, the only way to override translation strings is to edit the .po files, rebuild those, and reinstall botogram with the rebuilt .mo files. That's a really bad UX, and it might cause proble...
X Description: Currently, the only way to override translation strings is to edit the .po files, rebuild those, and reinstall botogram with the rebuilt .mo files. That's a really bad UX, and it might cause pr...
Opengraph URL: https://github.com/python-botogram/botogram/issues/47
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a way to override language strings without recompiling .po files","articleBody":"Currently, the only way to override translation strings is to edit the `.po` files, rebuild those, and reinstall botogram with the rebuilt `.mo` files. That's a really bad UX, and it might cause problems with multiple bots.\n\nThe proposed API is:\n\n``` python\nbot.override_i18n = {\n \"No description available\": \"Hey, that's empty!\",\n}\n```\n\n_Meta issue: #46_\n","author":{"url":"https://github.com/emilyalbini","@type":"Person","name":"emilyalbini"},"datePublished":"2016-03-22T22:04:54Z","url":"https://github.com/python-botogram/botogram/issues/47"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e5cde76e-3f53-cc55-c8e2-101231380b98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C768:16CC4C:150401:1CFDB1:6AEC86F6 |
| html-safe-nonce | d6f1bc0b4c5fc2e635555497b9c0f1e1b2ef3bfe229dfdfde617e9a6135fc752 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzY4OjE2Q0M0QzoxNTA0MDE6MUNGREIxOjZBRUM4NkY2IiwidmlzaXRvcl9pZCI6IjkwNTQ2OTEzNTEzMzE2MzY5ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | eed811918fd9a9ed8289a9bca486ecbfeb5e7e34e5d38886964b253d0fa22575 |
| hovercard-subject-tag | issue:142794485 |
| 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/_view_fragments/issues/show/python-botogram/botogram/47/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e7a80a3c2bc0a868b98d7005eeddab1b0a6f72c239033970fd2256a4bf7f0e64/python-botogram/botogram/issues/47 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e7a80a3c2bc0a868b98d7005eeddab1b0a6f72c239033970fd2256a4bf7f0e64/python-botogram/botogram/issues/47 |
| og:image:alt | Currently, the only way to override translation strings is to edit the .po files, rebuild those, and reinstall botogram with the rebuilt .mo files. That's a really bad UX, and it might cause proble... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | emilyalbini |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e71b15756bc4afd8519e1d2c309d0293587d17d6675d0f439cc304af9ed67ee |
| turbo-cache-control | no-preview |
| go-import | github.com/python-botogram/botogram git https://github.com/python-botogram/botogram.git |
| octolytics-dimension-user_id | 38258752 |
| octolytics-dimension-user_login | python-botogram |
| octolytics-dimension-repository_id | 38007898 |
| octolytics-dimension-repository_nwo | python-botogram/botogram |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38007898 |
| octolytics-dimension-repository_network_root_nwo | python-botogram/botogram |
| 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 | 9c2272d26b06ef11573649367fbbb67bfa00cd4f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width