Language: Turkish (tr)

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
node.js, typescript

Research direction

Start by comparing src/lang/nl.ts or src/lang/es.ts and read the Languages and presets guide to understand the language pack fields. Add Turkish language data, test it with tests/languages.test.mjs and assertLanguage, then wire it through src/lang/index.ts, package.json exports, and bin/cli.mjs following Dutch pack #31. Done means the Turkish examples pass and npm test succeeds.

Written by the indexing model from the issue text.

Description

good first issue help wanted language

A Turkish pack would let fuzzy-toolkit read numbers in words, articles, stop words and how words sound in Turkish.

How to start

  1. Copy src/lang/nl.ts (or es.ts) to src/lang/tr.ts and adapt it. Languages and presets explains each part.
  2. Test it with the kit, like tests/languages.test.mjs does:
    assertLanguage(tr, {
      numbers: [['yirmi bir', '21']],
    })
    
  3. Wire it like the Dutch pack did in #31 (src/lang/index.ts, package.json exports, bin/cli.mjs), run npm test and open a PR.

Native speakers welcome: comment here if you take it, and ask anything.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
14m
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tfoucher5/fuzzy-toolkit

All issues in Tfoucher5/fuzzy-toolkit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.