René's URL Explorer Experiment


Title: Allow users to programmatically override default i18n strings by ALCC01 · Pull Request #91 · python-botogram/botogram · GitHub

Open Graph Title: Allow users to programmatically override default i18n strings by ALCC01 · Pull Request #91 · python-botogram/botogram

X Title: Allow users to programmatically override default i18n strings by ALCC01 · Pull Request #91 · python-botogram/botogram

Description: Implements the API set out in #47 to allow botogram users to override i18n messages without the need to recompile the .po files. This change may conflict with #85, but the PR looks pretty dead. This also contributes towards the completion of the #46 roadmap. When the FrozenBot._ method is called it will first look up the msgid in the i18n_override map, before falling back to _lang_inst.gettext. This actually allows users to define custom messages stored in the bot instance and is independent from the language the bot is using. While not strictly related to #47, .po files have been rebuilt from sources as they were missing some new messages and used outdated references.

Open Graph Description: Implements the API set out in #47 to allow botogram users to override i18n messages without the need to recompile the .po files. This change may conflict with #85, but the PR looks pretty dead. Thi...

X Description: Implements the API set out in #47 to allow botogram users to override i18n messages without the need to recompile the .po files. This change may conflict with #85, but the PR looks pretty dead. Thi...

Opengraph URL: https://github.com/python-botogram/botogram/pull/91

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:37219cbf-9941-ca46-b82f-f82a77735d17
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7DC:26C517:1E3B37:29DD58:6AEC89D0
html-safe-nonce4244717edd724a6908aa4796997bf8a64ccb006617b023decfb7a13e034b10fa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0RDOjI2QzUxNzoxRTNCMzc6MjlERDU4OjZBRUM4OUQwIiwidmlzaXRvcl9pZCI6IjU3NDk5ODY2NTI5OTM2NTMyMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac223581e6ca9a22a6abdba5e1156e4029479e262516987595f92c837eaf49b2bb
hovercard-subject-tagpull_request:145212523
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-botogram/botogram/pull/91/files
twitter:imagehttps://avatars.githubusercontent.com/u/6186181?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6186181?s=400&v=4
og:image:altImplements the API set out in #47 to allow botogram users to override i18n messages without the need to recompile the .po files. This change may conflict with #85, but the PR looks pretty dead. Thi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9e71b15756bc4afd8519e1d2c309d0293587d17d6675d0f439cc304af9ed67ee
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-botogram/botogram git https://github.com/python-botogram/botogram.git
octolytics-dimension-user_id38258752
octolytics-dimension-user_loginpython-botogram
octolytics-dimension-repository_id38007898
octolytics-dimension-repository_nwopython-botogram/botogram
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38007898
octolytics-dimension-repository_network_root_nwopython-botogram/botogram
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c2272d26b06ef11573649367fbbb67bfa00cd4f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-botogram/botogram/pull/91/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-botogram%2Fbotogram%2Fpull%2F91%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-botogram%2Fbotogram%2Fpull%2F91%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-botogram%2Fbotogram
Reloadhttps://github.com/python-botogram/botogram/pull/91/files
Reloadhttps://github.com/python-botogram/botogram/pull/91/files
Reloadhttps://github.com/python-botogram/botogram/pull/91/files
python-botogramhttps://github.com/python-botogram
botogramhttps://github.com/python-botogram/botogram
Codehttps://github.com/python-botogram/botogram
Issues17 (17)https://github.com/python-botogram/botogram/issues
Pull requests18 (18)https://github.com/python-botogram/botogram/pulls
Actionshttps://github.com/python-botogram/botogram/actions
Security and qualityhttps://github.com/python-botogram/botogram/security
Insightshttps://github.com/python-botogram/botogram/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-botogram%2Fbotogram%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-botogram%2Fbotogram%2Fissues%2Fnew%2Fchoose
emilyalbinihttps://github.com/emilyalbini
python-botogram:masterhttps://github.com/python-botogram/botogram/tree/master
Conversation 12 https://github.com/python-botogram/botogram/pull/91
Commits 3 https://github.com/python-botogram/botogram/pull/91/commits
Checks 0 https://github.com/python-botogram/botogram/pull/91/checks
Files changed https://github.com/python-botogram/botogram/pull/91/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/91/files
Allow users to programmatically override default i18n strings https://github.com/python-botogram/botogram/pull/91/files#top
Show all changes 3 commits https://github.com/python-botogram/botogram/pull/91/files
0d0e610 Re-extracted i18n messages from source ALCC01 Oct 6, 2017 https://github.com/python-botogram/botogram/pull/91/commits/0d0e610d4a45184f0ac7b7e874be93d464ccf720
b01a0e7 Add i18n_override, which enables users to override default i18n messages ALCC01 Oct 6, 2017 https://github.com/python-botogram/botogram/pull/91/commits/b01a0e7bf11e852a7897ccd1801dabde9586a63a
6bbc17e Document feature and fix code style ALCC01 Oct 9, 2017 https://github.com/python-botogram/botogram/pull/91/commits/6bbc17e789fc3d6902067541e67cbd102ea90308
Clear filters https://github.com/python-botogram/botogram/pull/91/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/91/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/91/files
bot.py https://github.com/python-botogram/botogram/pull/91/files#diff-72ab0820b3d3f86797819b2909e8b4d8054fd7c94d0eaa9ea1740f8ce06d083c
frozenbot.py https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
bot.rst https://github.com/python-botogram/botogram/pull/91/files#diff-28423fc92755408d0696e45e0585359be1657e8819b62bc4423e4b27f7b4d5cf
0.4.rst https://github.com/python-botogram/botogram/pull/91/files#diff-9dde7d7357150401b540394d9c93df238fddf04f4da258a886a58b5fce939dfc
botogram.pot https://github.com/python-botogram/botogram/pull/91/files#diff-daa4820dce245e03065666e4d61b6f6cbd82d3b49861079e633ccb3ffa97db1b
en.po https://github.com/python-botogram/botogram/pull/91/files#diff-075c354e15764f4791ee52f1af5c1f960a18ebf21febb150d1d31c181c387f77
it.po https://github.com/python-botogram/botogram/pull/91/files#diff-9ea03a3066750afa417062ab45daf29769dc6eca66f354273fa7b292c54e539b
test_bot.py https://github.com/python-botogram/botogram/pull/91/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
botogram/bot.pyhttps://github.com/python-botogram/botogram/pull/91/files#diff-72ab0820b3d3f86797819b2909e8b4d8054fd7c94d0eaa9ea1740f8ce06d083c
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/botogram/bot.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-72ab0820b3d3f86797819b2909e8b4d8054fd7c94d0eaa9ea1740f8ce06d083c
https://github.com/python-botogram/botogram/pull/91/files#diff-72ab0820b3d3f86797819b2909e8b4d8054fd7c94d0eaa9ea1740f8ce06d083c
https://github.com/python-botogram/botogram/pull/91/files#diff-72ab0820b3d3f86797819b2909e8b4d8054fd7c94d0eaa9ea1740f8ce06d083c
https://github.com/python-botogram/botogram/pull/91/files#diff-72ab0820b3d3f86797819b2909e8b4d8054fd7c94d0eaa9ea1740f8ce06d083c
botogram/frozenbot.pyhttps://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/botogram/frozenbot.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
https://github.com/python-botogram/botogram/pull/91/files#diff-e6152462144b5e633eb8aebe3d8cfbfff0d3bfdf4ec25d967a4f302fe5982485
docs/api/bot.rsthttps://github.com/python-botogram/botogram/pull/91/files#diff-28423fc92755408d0696e45e0585359be1657e8819b62bc4423e4b27f7b4d5cf
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/docs/api/bot.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-28423fc92755408d0696e45e0585359be1657e8819b62bc4423e4b27f7b4d5cf
paolobarbolinihttps://github.com/paolobarbolini
Oct 9, 2017https://github.com/python-botogram/botogram/pull/91/files#r143507798
Please reload this pagehttps://github.com/python-botogram/botogram/pull/91/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-botogram/botogram/pull/91/files
emilyalbinihttps://github.com/emilyalbini
Oct 9, 2017https://github.com/python-botogram/botogram/pull/91/files#r143572105
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-botogram/botogram/pull/91/files
https://github.com/python-botogram/botogram/pull/91/files#diff-28423fc92755408d0696e45e0585359be1657e8819b62bc4423e4b27f7b4d5cf
docs/changelog/0.4.rsthttps://github.com/python-botogram/botogram/pull/91/files#diff-9dde7d7357150401b540394d9c93df238fddf04f4da258a886a58b5fce939dfc
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/docs/changelog/0.4.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-9dde7d7357150401b540394d9c93df238fddf04f4da258a886a58b5fce939dfc
https://github.com/python-botogram/botogram/pull/91/files#diff-9dde7d7357150401b540394d9c93df238fddf04f4da258a886a58b5fce939dfc
i18n/botogram.pothttps://github.com/python-botogram/botogram/pull/91/files#diff-daa4820dce245e03065666e4d61b6f6cbd82d3b49861079e633ccb3ffa97db1b
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/i18n/botogram.pot
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
i18n/langs/en.pohttps://github.com/python-botogram/botogram/pull/91/files#diff-075c354e15764f4791ee52f1af5c1f960a18ebf21febb150d1d31c181c387f77
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/i18n/langs/en.po
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-075c354e15764f4791ee52f1af5c1f960a18ebf21febb150d1d31c181c387f77
https://github.com/python-botogram/botogram/pull/91/files#diff-075c354e15764f4791ee52f1af5c1f960a18ebf21febb150d1d31c181c387f77
i18n/langs/it.pohttps://github.com/python-botogram/botogram/pull/91/files#diff-9ea03a3066750afa417062ab45daf29769dc6eca66f354273fa7b292c54e539b
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/i18n/langs/it.po
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-9ea03a3066750afa417062ab45daf29769dc6eca66f354273fa7b292c54e539b
https://github.com/python-botogram/botogram/pull/91/files#diff-9ea03a3066750afa417062ab45daf29769dc6eca66f354273fa7b292c54e539b
tests/test_bot.pyhttps://github.com/python-botogram/botogram/pull/91/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
View file https://github.com/python-botogram/botogram/blob/6bbc17e789fc3d6902067541e67cbd102ea90308/tests/test_bot.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/91/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/91/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
https://github.com/python-botogram/botogram/pull/91/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
https://github.com/python-botogram/botogram/pull/91/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
https://github.com/python-botogram/botogram/pull/91/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.