Skip to content

v1.0.1: Add 13 new languages (22 total)#10

Merged
brianfunk merged 1 commit intomasterfrom
dev
Feb 8, 2026
Merged

v1.0.1: Add 13 new languages (22 total)#10
brianfunk merged 1 commit intomasterfrom
dev

Conversation

@brianfunk
Copy link
Owner

Summary

  • 13 new languages added: Japanese, Korean, Arabic, Italian, Dutch, Turkish, Polish, Swedish, Indonesian, Thai, Norwegian, Finnish, Icelandic
  • Full Scandinavian coverage: Danish (existing) + Swedish, Norwegian, Finnish, Icelandic
  • Portuguese (from previous PR) + doc fixes included
  • Version bumped to 1.0.1
  • 265 tests all passing, lint clean

New Language Files

Language Code File Example (42)
Japanese ja languages/ja.js 四十二
Korean ko languages/ko.js 사십이
Arabic ar languages/ar.js اثنان وأربعون
Italian it languages/it.js quarantadue
Dutch nl languages/nl.js tweeënveertig
Turkish tr languages/tr.js kırk iki
Polish pl languages/pl.js czterdzieści dwa
Swedish sv languages/sv.js fyrtiotvå
Indonesian id languages/id.js empat puluh dua
Thai th languages/th.js สี่สิบสอง
Norwegian no languages/no.js førtito
Finnish fi languages/fi.js neljäkymmentäkaksi
Icelandic is languages/is.js fjörutíu og tveir

Test plan

  • npm run lint — zero errors
  • npm test — 265/265 passing
  • Smoke tested all 13 new languages via toWords()
  • Merge to master
  • npm publish as v1.0.1
  • Create GitHub release tag

🤖 Generated with Claude Code

New languages: Japanese, Korean, Arabic, Italian, Dutch, Turkish,
Polish, Swedish, Indonesian, Thai, Norwegian, Finnish, Icelandic.

Full Scandinavian coverage (Danish, Swedish, Norwegian, Finnish,
Icelandic). All languages support BigInt up to 10^36.

265 tests passing. Version bumped to 1.0.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 603107396b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +35 to +38
const hundredIt = (n) => {
if (n < 100 || n >= 1000) return '';
const h = Math.floor(n / 100);
return IT_HUNDREDS[h];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle cento elision before otto/ottanta

Italian drops the trailing “o” in cento before words starting with otto (e.g., 108 → “centotto”, 180 → “centottanta”). Here hundredIt always returns cento, and the later concatenation with tenIt(8) or tenIt(80) produces “centootto/centoottanta” instead. This makes all numbers 108/180/181…189 incorrect in the new Italian implementation.

Useful? React with 👍 / 👎.

@brianfunk brianfunk merged commit 46d5ca2 into master Feb 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments