We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22f8618 commit 61b487eCopy full SHA for 61b487e
2 files changed
.changeset/calm-pumas-travel.md
@@ -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
@@ -184,6 +184,8 @@ const localeMap = {
184
nap: ["nap-IT"],
185
// Afrikaans (South Africa)
186
af: ["af-ZA"],
187
+ // Uzbek (Latin)
188
+ uz: ["uz-Latn"],
189
// Somali (Somalia)
190
so: ["so-SO"],
191
// Tigrinya (Ethiopia)
@@ -258,8 +260,6 @@ export const resolveLocaleCode = (value: string): LocaleCodeFull => {
258
260
* @return { string | null} - The delimiter ("_" or "-") if found, otherwise `null`.
259
261
*/
262
-
263
export const getLocaleCodeDelimiter = (locale: string): LocaleDelimiter => {
264
if (locale.includes("_")) {
265
return "_";
0 commit comments