Skip to content

Commit

Permalink
Add initial support for Vietnamese (#348)
Browse files Browse the repository at this point in the history
* Add initial support for Vietnemese

* Update docs to cover all supported languages

* Add fresh Vietnamese translations
  • Loading branch information
wojtekn committed Jul 11, 2024
1 parent 8d04fae commit d87aa7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ into the app is somewhat manual at the moment.

## Supported Languages

We currently support the magnificent 16 languages defined in `src/lib/locale.ts`.
We currently support the magnificent 16 languages defined in `src/lib/locale.ts`,
as well as Polish and Vietnamese.
If you want to add support for another language you will need to add it to the
`supportedLocales` array.

Expand All @@ -33,7 +34,7 @@ If you want to add support for another language you will need to add it to the
2. Click the **Project actions** menu.
3. Click **Bulk Export**.
4. Click **Select WP.Com Priority Languages** to only the magnificent 16 languages.
5. Select **Polish** too.
5. Select **Polish** and **Vietnamese**, too.
6. Change the format to `Jed 1.x (.json)`.
7. Leave the other fields as default and click **Export**.

Expand Down
1 change: 1 addition & 0 deletions src/lib/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const supportedLocales = [
'ru',
'sv',
'tr',
'vi',
'zh-cn',
'zh-tw',
];
Expand Down
Loading

0 comments on commit d87aa7b

Please sign in to comment.