Skip to content

Commit 61b487e

Browse files
authored
feat: add new locale (#596)
1 parent 22f8618 commit 61b487e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.changeset/calm-pumas-travel.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@lingo.dev/_spec": patch
3+
"lingo.dev": patch
4+
"@lingo.dev/_sdk": patch
5+
---
6+
7+
add new locale

packages/spec/src/locales.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ const localeMap = {
184184
nap: ["nap-IT"],
185185
// Afrikaans (South Africa)
186186
af: ["af-ZA"],
187+
// Uzbek (Latin)
188+
uz: ["uz-Latn"],
187189
// Somali (Somalia)
188190
so: ["so-SO"],
189191
// Tigrinya (Ethiopia)
@@ -258,8 +260,6 @@ export const resolveLocaleCode = (value: string): LocaleCodeFull => {
258260
* @return { string | null} - The delimiter ("_" or "-") if found, otherwise `null`.
259261
*/
260262

261-
262-
263263
export const getLocaleCodeDelimiter = (locale: string): LocaleDelimiter => {
264264
if (locale.includes("_")) {
265265
return "_";

0 commit comments

Comments
 (0)