| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e1f4bbd6-dfc2-66f9-c9ac-a648ef8b6b7b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE9C:2080FA:208480A:2C6AB67:6A54128D |
| html-safe-nonce | 5c33a1cdd696ba220fabf26a6537ec50360f2f547366595ccb1cf07b86ebb65e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTlDOjIwODBGQToyMDg0ODBBOjJDNkFCNjc6NkE1NDEyOEQiLCJ2aXNpdG9yX2lkIjoiNTEzODcxMjMzMDI5NzkzODU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec33e9b3f82d5220b12bbab10055bde9c9c0daf4d4f0dae49c643985cca81c10 |
| hovercard-subject-tag | pull_request:3291276252 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-humanize/humanize/294/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/015a421ed2e04942b52dbf18cbb9c6d143c356038a614115e4d0acfc65b93b6a/python-humanize/humanize/pull/294 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/015a421ed2e04942b52dbf18cbb9c6d143c356038a614115e4d0acfc65b93b6a/python-humanize/humanize/pull/294 |
| og:image:alt | Fixes #51
This PR adds i18n support to the naturalsize() function so that file size units
are translated when a locale is activated.
Changes:
Added gettext support to naturalsize()
Ensured French ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Yibomao |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git |
| octolytics-dimension-user_id | 62149795 |
| octolytics-dimension-user_login | python-humanize |
| octolytics-dimension-repository_id | 466683324 |
| octolytics-dimension-repository_nwo | python-humanize/humanize |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 466683324 |
| octolytics-dimension-repository_network_root_nwo | python-humanize/humanize |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python-humanize/humanize/pull/294#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F294 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F294 |
|
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 |
| Reload | https://github.com/python-humanize/humanize/pull/294 |
| Reload | https://github.com/python-humanize/humanize/pull/294 |
| Reload | https://github.com/python-humanize/humanize/pull/294 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
|
python-humanize
| https://github.com/python-humanize |
| humanize | https://github.com/python-humanize/humanize |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
|
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 |
| hugovk | https://github.com/hugovk |
| python-humanize:main | https://github.com/python-humanize/humanize/tree/main |
| Yibomao:fix-french-filesize-i18n | https://github.com/Yibomao/humanize/tree/fix-french-filesize-i18n |
| Conversation | https://github.com/python-humanize/humanize/pull/294 |
| Commits6 (6) | https://github.com/python-humanize/humanize/pull/294/commits |
| Checks | https://github.com/python-humanize/humanize/pull/294/checks |
| Files changed | https://github.com/python-humanize/humanize/pull/294/files |
| Add i18n support for naturalsize() and French translation | https://github.com/python-humanize/humanize/pull/294#top |
| hugovk | https://github.com/hugovk |
| python-humanize:main | https://github.com/python-humanize/humanize/tree/main |
| Yibomao:fix-french-filesize-i18n | https://github.com/Yibomao/humanize/tree/fix-french-filesize-i18n |
|
| https://github.com/Yibomao |
| Yibomao | https://github.com/Yibomao |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#issue-3949223812 |
| #51 | https://github.com/python-humanize/humanize/issues/51 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| Yibomao | https://github.com/Yibomao |
| February 16, 2026 14:08 | https://github.com/python-humanize/humanize/pull/294#commits-pushed-60d6377 |
|
| https://github.com/Yibomao |
| Add French i18n support for naturalsize() | https://github.com/python-humanize/humanize/pull/294/commits/60d637792937628fb8f8f478cf18961ae2410b25 |
| 60d6377 | https://github.com/python-humanize/humanize/pull/294/commits/60d637792937628fb8f8f478cf18961ae2410b25 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/python-humanize/humanize/pull/294/commits/79e8faf0fe3d75bee18ba047132e29489d725f18 |
| 79e8faf | https://github.com/python-humanize/humanize/pull/294/commits/79e8faf0fe3d75bee18ba047132e29489d725f18 |
| https://pre-commit.ci | https://pre-commit.ci |
|
| https://github.com/Yibomao |
| Add docstring for naturalsize() | https://github.com/python-humanize/humanize/pull/294/commits/918a6db6ee4fc259ba15391fc069bcece841bc31 |
| 918a6db | https://github.com/python-humanize/humanize/pull/294/commits/918a6db6ee4fc259ba15391fc069bcece841bc31 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/python-humanize/humanize/pull/294/commits/22d7f0006e389a69a959f054be61ba2bb8cbd4d6 |
| 22d7f00 | https://github.com/python-humanize/humanize/pull/294/commits/22d7f0006e389a69a959f054be61ba2bb8cbd4d6 |
| https://pre-commit.ci | https://pre-commit.ci |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
changelog: Added
| https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Added%22 |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#event-22835427550 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#event-22835435865 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
Feb 16, 2026
| https://github.com/python-humanize/humanize/pull/294#pullrequestreview-3810522756 |
|
View reviewed changes
| https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6 |
| hugovk | https://github.com/hugovk |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| https://github.com/python-humanize/humanize/pull/294#pullrequestreview-3810522756 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| src/humanize/filesize.py | https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| src/humanize/filesize.py | https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b |
| hugovk | https://github.com/hugovk |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#discussion_r2814037560 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| hugovk | https://github.com/hugovk |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#discussion_r2814048561 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| src/humanize/filesize.py | https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b |
| hugovk | https://github.com/hugovk |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#discussion_r2814038220 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| src/humanize/filesize.py | https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b |
| hugovk | https://github.com/hugovk |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#discussion_r2814042230 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| src/humanize/filesize.py | https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6#diff-a6302c264ca9643e28ddcb2813a6795230460bfc509c729ee4697734cb94f84b |
| hugovk | https://github.com/hugovk |
| Feb 16, 2026 | https://github.com/python-humanize/humanize/pull/294#discussion_r2814046503 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
|
| https://github.com/hugovk |
| Fix localisation | https://github.com/python-humanize/humanize/pull/294/commits/e36e29108c11bab699146cccb2621c304a5669a0 |
| e36e291 | https://github.com/python-humanize/humanize/pull/294/commits/e36e29108c11bab699146cccb2621c304a5669a0 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Feb 22, 2026 | https://github.com/python-humanize/humanize/pull/294#issuecomment-3940738161 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| Codecov | https://app.codecov.io/gh/python-humanize/humanize/pull/294?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| 471cd9b | https://app.codecov.io/gh/python-humanize/humanize/commit/471cd9b3492318ef639973d29ba929ca458068db?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| e4e50d5 | https://app.codecov.io/gh/python-humanize/humanize/commit/e4e50d5860720b2d5fa51e7346f01a22580acfa2?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Flag | https://app.codecov.io/gh/python-humanize/humanize/pull/294/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| macos-latest | https://app.codecov.io/gh/python-humanize/humanize/pull/294/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| ubuntu-latest | https://app.codecov.io/gh/python-humanize/humanize/pull/294/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| windows-latest | https://app.codecov.io/gh/python-humanize/humanize/pull/294/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Click here | https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize#carryforward-flags-in-the-pull-request-comment |
| ☔ View full report in Codecov by Sentry | https://app.codecov.io/gh/python-humanize/humanize/pull/294?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
|
| https://github.com/hugovk |
| Add tests and fix Byte/Bytes localisation | https://github.com/python-humanize/humanize/pull/294/commits/e4e50d5860720b2d5fa51e7346f01a22580acfa2 |
| e4e50d5 | https://github.com/python-humanize/humanize/pull/294/commits/e4e50d5860720b2d5fa51e7346f01a22580acfa2 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
| b172d67 | https://github.com/python-humanize/humanize/commit/b172d67eac6a623db14020653cb311d29338d01f |
| Feb 22, 2026 | https://github.com/python-humanize/humanize/pull/294#event-22979914449 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
| https://github.co/hiddenchars |
| https://github.com/python-humanize/humanize/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F294 |
|
| https://github.com/hugovk |
|
hugovk
| https://github.com/hugovk |
|
| https://github.com/python-humanize/humanize/pull/294/files/22d7f0006e389a69a959f054be61ba2bb8cbd4d6 |
|
changelog: Added
| https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Added%22 |
|
Filesize i18n not working for French
| https://github.com/python-humanize/humanize/issues/51 |
| Please reload this page | https://github.com/python-humanize/humanize/pull/294 |
|
| https://github.com/Yibomao |
|
| https://github.com/hugovk |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |