Title: Translation for thousands is wrong in French · Issue #191 · python-humanize/humanize · GitHub
Open Graph Title: Translation for thousands is wrong in French · Issue #191 · python-humanize/humanize
X Title: Translation for thousands is wrong in French · Issue #191 · python-humanize/humanize
Description: What did you do? >>> import humanize as h >>> print(h.__version__) 4.8.0 >>> h.i18n.activate('fr')
Open Graph Description: What did you do? >>> import humanize as h >>> print(h.__version__) 4.8.0 >>> h.i18n.activate('fr')
X Description: What did you do? >>> import humanize as h >>> print(h.__version__) 4.8.0 >>> h.i18n.activate('fr') <gettext.GNUTranslations object at 0x1033a9c30> >>&...
Opengraph URL: https://github.com/python-humanize/humanize/issues/191
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Translation for thousands is wrong in French","articleBody":"### What did you do?\r\n```python\r\n\u003e\u003e\u003e import humanize as h\r\n\u003e\u003e\u003e print(h.__version__)\r\n4.8.0\r\n\u003e\u003e\u003e h.i18n.activate('fr')\r\n\u003cgettext.GNUTranslations object at 0x1033a9c30\u003e\r\n\u003e\u003e\u003e h.intword(22382)\r\n'22.4 thousand'\r\n```\r\n\r\n### What did you expect to happen?\r\n`thousand` should be `mille` or `milles` for plural in French\r\n\r\n### What actually happened?\r\nprints `thousand`\r\n\r\n### What versions are you using?\r\n\r\n* OS: MacOS Sonoma 14.5\r\n* Python: 3.10.11\r\n* Humanize: 4.8.0\r\n\r\nSee code snippet at start of issue.","author":{"url":"https://github.com/enlivn","@type":"Person","name":"enlivn"},"datePublished":"2024-07-23T16:21:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/191/humanize/issues/191"}
| 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:00b3d13f-aa51-00ca-909f-83bb8e1e3999 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5E4:34F7A0:C1F3F8:1004D46:6A540AB2 |
| html-safe-nonce | d34c8fe2cab683616d2da26486b2888ae0cfc2768947625d5116ef09c6c6d455 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUU0OjM0RjdBMDpDMUYzRjg6MTAwNEQ0Njo2QTU0MEFCMiIsInZpc2l0b3JfaWQiOiI0MjYwMTg3MTI1MDY3Mjg3MjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ca68cf5e43c9cfdf7f060fe2ef81d96ed6f1450a8e463eb7565af17db0e19202 |
| hovercard-subject-tag | issue:2425606185 |
| 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-humanize/humanize/191/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb435c700b986b7529ba69d7a394dc6ab776c2f04d8a67375c36048a014e1a34/python-humanize/humanize/issues/191 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb435c700b986b7529ba69d7a394dc6ab776c2f04d8a67375c36048a014e1a34/python-humanize/humanize/issues/191 |
| og:image:alt | What did you do? >>> import humanize as h >>> print(h.__version__) 4.8.0 >>> h.i18n.activate('fr') |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | enlivn |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
Links:
Viewport: width=device-width