Skip to content

Commit faf0330

Browse files
feat: indonesian hyphen support (#209)
1 parent 9168228 commit faf0330

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/modules/segmentation/utils/hyphen-loader.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const SUPPORTED_LANGUAGES = [
1515
{ label: "Deutsch (German)", value: "de" },
1616
{ label: "Français (French)", value: "fr" },
1717
{ label: "Español (Spanish)", value: "es" },
18+
{ label: "Bahasa Indonesia (Indonesian)", value: "id" },
1819
{ label: "Italiano (Italian)", value: "it" },
1920
{ label: "Português (Portuguese)", value: "pt" },
2021
{ label: "Pусский (Russian)", value: "ru" },
@@ -55,6 +56,9 @@ export async function loadHyphenator(
5556
case "es":
5657
module = await import("hyphen/es");
5758
break;
59+
case "id":
60+
module = await import("hyphen/id");
61+
break;
5862
case "it":
5963
module = await import("hyphen/it");
6064
break;

0 commit comments

Comments
 (0)