Skip to content

Commit

Permalink
Merge pull request #98 from jacobmolby/feat/add-missing-locales
Browse files Browse the repository at this point in the history
actually export new locales. Update readme.
  • Loading branch information
LoicMahieu authored Aug 1, 2024
2 parents 9b4a5d6 + 0064d8c commit 398a553
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,38 @@ setLocale(fr);
Locales implemented:

- `ar`
- `bg`
- `bs`
- `cs`
- `da`
- `de`
- `en`
- `es`
- `et`
- `fi`
- `fr`
- `he`
- `hu`
- `id`
- `it`
- `ja`
- `ko`
- `lt`
- `nb`
- `nl`
- `pt`
- `tr`
- `lt`
- `pl`
- `sk`
- `pt`
- `ro`
- `ru`
- `cs`
- `sk`
- `sv`
- `th`
- `tr`
- `uk`
- `uz`
- `vi`
- `zh`
- `th`
- `ja`
- `zh-tw`
- `ko`
- `zhtw`

Please submit a PR with a new locale if you need it. In order to create a new locale, you could translate it automatically with `node scripts/create-locale` which will use google translate.

Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import * as es from './locales/es';
import * as fr from './locales/fr';
import * as he from './locales/he';
import * as hu from './locales/hu';
import * as hu from './locales/hu';
import * as id from './locales/id';
import * as it from './locales/it';
import * as ja from './locales/ja';
Expand Down

0 comments on commit 398a553

Please sign in to comment.