Skip to content

Commit 3a99763

Browse files
authored
feat: add new locales (#473)
1 parent 3ff34b5 commit 3a99763

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.changeset/rude-jobs-develop.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 locales

packages/spec/src/locales.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,12 @@ const localeMap = {
134134
lv: ["lv-LV"],
135135
// Lithuanian (Lithuania)
136136
lt: ["lt-LT"],
137-
// Norwegian (Norway)
138-
no: ["no-NO"],
137+
// Norwegian
138+
no: [
139+
"no-NO", // Norway (legacy)
140+
"nb-NO", // Norwegian Bokmål
141+
"nn-NO", // Norwegian Nynorsk
142+
],
139143
// Romanian (Romania)
140144
ro: ["ro-RO"],
141145
// Slovak (Slovakia)

0 commit comments

Comments
 (0)