René's URL Explorer Experiment


Title: Fix finding location of translations by dangillet · Pull Request #204 · python-humanize/humanize · GitHub

Open Graph Title: Fix finding location of translations by dangillet · Pull Request #204 · python-humanize/humanize

X Title: Fix finding location of translations by dangillet · Pull Request #204 · python-humanize/humanize

Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.

Open Graph Description: Fixes #105 Changes proposed in this pull request: Use importlib.resources available since Python 3.9 to find the location of the locale folder containing the translations.

X Description: Fixes #105 Changes proposed in this pull request: Use importlib.resources available since Python 3.9 to find the location of the locale folder containing the translations.

Opengraph URL: https://github.com/python-humanize/humanize/pull/204

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:760a48e3-9f0e-b4a2-b781-82e2e5d2dc45
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD64:2BF661:16519F1:2071C63:6A54CF7C
html-safe-nonce4a859c6de5f021f897f1fdf7c60102e3b910b883cc7b2b16554e857d92b53069
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDY0OjJCRjY2MToxNjUxOUYxOjIwNzFDNjM6NkE1NENGN0MiLCJ2aXNpdG9yX2lkIjoiNzcwNzU4NDY4ODk4NzA1Mjc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac43f6a0be2696a15a6d57cf0539f4a27e0daec26ae17cfe315196c75ce573bcef
hovercard-subject-tagpull_request:2085225022
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-humanize/humanize/204/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7e0011d382dba47c0e1da2b6a41a35e55679a641f453f2875d9033091ee98aa9/python-humanize/humanize/pull/204
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e0011d382dba47c0e1da2b6a41a35e55679a641f453f2875d9033091ee98aa9/python-humanize/humanize/pull/204
og:image:altFixes #105 Changes proposed in this pull request: Use importlib.resources available since Python 3.9 to find the location of the locale folder containing the translations.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedangillet
hostnamegithub.com
expected-hostnamegithub.com
Nonea556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54
turbo-cache-controlno-cache
go-importgithub.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git
octolytics-dimension-user_id62149795
octolytics-dimension-user_loginpython-humanize
octolytics-dimension-repository_id466683324
octolytics-dimension-repository_nwopython-humanize/humanize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id466683324
octolytics-dimension-repository_network_root_nwopython-humanize/humanize
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release840b5d20d5a883c23cf56f5240b2c343d6cc0867
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-humanize/humanize/pull/204#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F204
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F204
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-humanize%2Fhumanize
Reloadhttps://github.com/python-humanize/humanize/pull/204
Reloadhttps://github.com/python-humanize/humanize/pull/204
Reloadhttps://github.com/python-humanize/humanize/pull/204
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
python-humanize https://github.com/python-humanize
humanizehttps://github.com/python-humanize/humanize
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
Notifications https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Fork 115 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Star 736 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Code https://github.com/python-humanize/humanize
Issues 12 https://github.com/python-humanize/humanize/issues
Pull requests 12 https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality 0 https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
Code https://github.com/python-humanize/humanize
Issues https://github.com/python-humanize/humanize/issues
Pull requests https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
dangillet:fix-get-default-locale-pathhttps://github.com/dangillet/humanize/tree/fix-get-default-locale-path
Conversationhttps://github.com/python-humanize/humanize/pull/204
Commits2 (2)https://github.com/python-humanize/humanize/pull/204/commits
Checkshttps://github.com/python-humanize/humanize/pull/204/checks
Files changedhttps://github.com/python-humanize/humanize/pull/204/files
Fix finding location of translationshttps://github.com/python-humanize/humanize/pull/204#top
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
dangillet:fix-get-default-locale-pathhttps://github.com/dangillet/humanize/tree/fix-get-default-locale-path
https://github.com/dangillet
dangillethttps://github.com/dangillet
Sep 22, 2024https://github.com/python-humanize/humanize/pull/204#issue-2541119006
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
#105https://github.com/python-humanize/humanize/issues/105
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
https://github.com/hugovk
hugovkhttps://github.com/hugovk
changelog: Fixed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Fixed%22
Sep 22, 2024https://github.com/python-humanize/humanize/pull/204#event-14355001541
https://github.com/dangillet
dangillethttps://github.com/dangillet
force-pushedhttps://github.com/python-humanize/humanize/compare/af19aaf35f013b9a378d74492f53bde25dc4c44b..ff870da2b772c338922731fc67f25bc5e807e217
af19aafhttps://github.com/python-humanize/humanize/commit/af19aaf35f013b9a378d74492f53bde25dc4c44b
ff870dahttps://github.com/python-humanize/humanize/commit/ff870da2b772c338922731fc67f25bc5e807e217
Compare https://github.com/python-humanize/humanize/compare/af19aaf35f013b9a378d74492f53bde25dc4c44b..ff870da2b772c338922731fc67f25bc5e807e217
September 23, 2024 07:34https://github.com/python-humanize/humanize/pull/204#event-14358669852
Fix i18n _get_default_locale_pathhttps://github.com/python-humanize/humanize/pull/204/commits/96276945545972edfe462ed9809719f931c27b56
9627694https://github.com/python-humanize/humanize/pull/204/commits/96276945545972edfe462ed9809719f931c27b56
python-humanize#105https://github.com/python-humanize/humanize/issues/105
https://github.com/dangillet
dangillethttps://github.com/dangillet
force-pushedhttps://github.com/python-humanize/humanize/compare/ff870da2b772c338922731fc67f25bc5e807e217..96276945545972edfe462ed9809719f931c27b56
ff870dahttps://github.com/python-humanize/humanize/commit/ff870da2b772c338922731fc67f25bc5e807e217
9627694https://github.com/python-humanize/humanize/commit/96276945545972edfe462ed9809719f931c27b56
Compare https://github.com/python-humanize/humanize/compare/ff870da2b772c338922731fc67f25bc5e807e217..96276945545972edfe462ed9809719f931c27b56
September 26, 2024 16:17https://github.com/python-humanize/humanize/pull/204#event-14419407886
https://github.com/dangillet
dangillethttps://github.com/dangillet
Sep 26, 2024https://github.com/python-humanize/humanize/pull/204#issuecomment-2377422588
https://docs.python.org/3/reference/import.html#package__https://docs.python.org/3/reference/import.html#package__
is read-only https://docs.python.org/3/library/importlib.html#importlib.machinery.ModuleSpec.parent
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Oct 1, 2024 https://github.com/python-humanize/humanize/pull/204#pullrequestreview-2340022647
View reviewed changes https://github.com/python-humanize/humanize/pull/204/files/96276945545972edfe462ed9809719f931c27b56
hugovkhttps://github.com/hugovk
https://github.com/python-humanize/humanize/pull/204#pullrequestreview-2340022647
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/nschloe/tunahttps://github.com/nschloe/tuna
https://private-user-images.githubusercontent.com/1324225/372461634-1bc9a105-6369-4cd2-b756-3131c5736a89.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM5NDMzMzYsIm5iZiI6MTc4Mzk0MzAzNiwicGF0aCI6Ii8xMz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LUFtei1TaWduYXR1cmU9ZDcxMzFhZmZlYmE5YjY2NWEyYTFiODljNzdiMDU5NjI3N2JkOWJlNWUzYjZmOWFmNWI1MWE0ZGEyODI2NDJjNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.uLk8gppK-v3ijC6UtmdlbbWgS3yg25YRlGb1zfkvSJs
https://private-user-images.githubusercontent.com/1324225/372463274-4aeaa3c1-d35c-47da-8a66-0153ce01f07c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM5NDMzMzYsIm5iZiI6MTc4Mzk0MzAzNiwicGF0aCI6Ii8xMzI0MjI1LzM3MjQ2MzI3NC00YWVhYTNjMS1kMzVjLTQ3ZGEtOGE2Ni0wMTUzY2UwMWYwN2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTNUMTE0MzU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjhlNzA3NTA1ZWM4NWQyNmJhMGRiNGU3N2UxNjk2YzcyY2NkOTU5MGQwYjQxY2NjNmNlZThjYzQ4NDljMWE4YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0._BY9QCQMcZEjW8b_y2MJDG1jTic5RQkbW7mMlrKi73k
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
src/humanize/i18n.pyhttps://github.com/python-humanize/humanize/pull/204/files/96276945545972edfe462ed9809719f931c27b56#diff-602d09135a31a641f7b08c39288a3b89845755072182ec1c4bed13f8d78d0d4e
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
src/humanize/i18n.pyhttps://github.com/python-humanize/humanize/pull/204/files/96276945545972edfe462ed9809719f931c27b56#diff-602d09135a31a641f7b08c39288a3b89845755072182ec1c4bed13f8d78d0d4e
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
https://github.com/dangillet
https://github.com/hugovk
Apply suggestions from code reviewhttps://github.com/python-humanize/humanize/pull/204/commits/b5f9af53d85a5dafaa66b5503e7b096a21b987b1
b5f9af5https://github.com/python-humanize/humanize/pull/204/commits/b5f9af53d85a5dafaa66b5503e7b096a21b987b1
https://github.com/dangillet
dangillethttps://github.com/dangillet
Oct 2, 2024https://github.com/python-humanize/humanize/pull/204#issuecomment-2387807255
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
https://github.com/hugovk
hugovkhttps://github.com/hugovk
19b43d3https://github.com/python-humanize/humanize/commit/19b43d3b8d80959d75097d8e145690be811465bd
Oct 2, 2024https://github.com/python-humanize/humanize/pull/204#event-14483904550
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Oct 2, 2024https://github.com/python-humanize/humanize/pull/204#issuecomment-2387820038
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Oct 5, 2024https://github.com/python-humanize/humanize/pull/204#event-14528085756
https://github.co/hiddenchars
https://github.com/python-humanize/humanize/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F204
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python-humanize/humanize/pull/204/files/96276945545972edfe462ed9809719f931c27b56
changelog: Fixed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Fixed%22
Some tests fails with pytest-randomly https://github.com/python-humanize/humanize/issues/105
Please reload this pagehttps://github.com/python-humanize/humanize/pull/204
https://github.com/dangillet
https://github.com/hugovk
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.