Title: German localization for intword missing thousand, and some plurals · Issue #88 · python-humanize/humanize · GitHub
Open Graph Title: German localization for intword missing thousand, and some plurals · Issue #88 · python-humanize/humanize
X Title: German localization for intword missing thousand, and some plurals · Issue #88 · python-humanize/humanize
Description: What did you do? I am using humanize.intword to get a number to be a intword in german. What did you expect to happen? The Code should print something like 1.2 Millionen or 2 Tausend What actually happened? Everytime, it prints 1.2 Milli...
Open Graph Description: What did you do? I am using humanize.intword to get a number to be a intword in german. What did you expect to happen? The Code should print something like 1.2 Millionen or 2 Tausend What actually ...
X Description: What did you do? I am using humanize.intword to get a number to be a intword in german. What did you expect to happen? The Code should print something like 1.2 Millionen or 2 Tausend What actually ...
Opengraph URL: https://github.com/python-humanize/humanize/issues/88
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"German localization for intword missing thousand, and some plurals","articleBody":"### What did you do?\r\nI am using humanize.intword to get a number to be a intword in german.\r\n\r\n### What did you expect to happen?\r\nThe Code should print something like `1.2 Millionen` or `2 Tausend`\r\n\r\n### What actually happened?\r\nEverytime, it prints 1.2 Million, on other numbers that are in the thousands it doesnt print \"tausend\" it prints \"thousand\" like in the english.\r\n\r\nA few Months or Weeks ago everything worked fine in german. i dont know why it doesnt work anymore\r\n\r\n### What versions are you using?\r\n\r\n* OS: Windows 10\r\n* Python: 3.10\r\n* Humanize: 4.40\r\n\r\nPlease include **code** that reproduces the issue.\r\n\r\nThe [best reproductions](https://stackoverflow.com/help/minimal-reproducible-example) are [self-contained scripts](https://ericlippert.com/2014/03/05/how-to-debug-small-programs/) with minimal dependencies.\r\n\r\n```py\r\nimport humanize\r\n_t = humanize.i18n.activate(\"de_DE\")\r\n\r\ndef intword(num):\r\n num = humanize.intword(num)\r\n num = num.replace(\".0\", \"\")\r\n return num\r\n\r\nprint(intword(1250000) # 1.2 Million should be 1.2 Millionen\r\nprint(intword(2000) # 2 thousand should be 2 Tausend\r\n```\r\n","author":{"url":"https://github.com/NavisGames","@type":"Person","name":"NavisGames"},"datePublished":"2023-01-08T14:09:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/88/humanize/issues/88"}
| 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:f5da9584-e23e-7bf5-0bf7-22b65e0a48d1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD66:185C34:1FF8240:2BB9DBA:6A538BF2 |
| html-safe-nonce | 63603fadd507ec5d84de8e06e75150c739a015c3992cfb97946d5b5a67a1a2a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDY2OjE4NUMzNDoxRkY4MjQwOjJCQjlEQkE6NkE1MzhCRjIiLCJ2aXNpdG9yX2lkIjoiNzIyNTc0MjU5OTkxNDc1MzAxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba702a165b8e1bbaede1fc775601d30b38f6ad44aa2de6cecf6624087ced6c5e |
| hovercard-subject-tag | issue:1524524568 |
| 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/88/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18c9501efbff6738a3c5000c3d7ef656c9a25a8eb4291ab77c096b17ddb1fd8c/python-humanize/humanize/issues/88 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18c9501efbff6738a3c5000c3d7ef656c9a25a8eb4291ab77c096b17ddb1fd8c/python-humanize/humanize/issues/88 |
| og:image:alt | What did you do? I am using humanize.intword to get a number to be a intword in german. What did you expect to happen? The Code should print something like 1.2 Millionen or 2 Tausend What actually ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NavisGames |
| 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