aboutsummaryrefslogtreecommitdiffstats
path: root/sanity/schemas/_locales.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sanity/schemas/_locales.ts')
-rw-r--r--sanity/schemas/_locales.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/sanity/schemas/_locales.ts b/sanity/schemas/_locales.ts
index 5f19303..8baca54 100644
--- a/sanity/schemas/_locales.ts
+++ b/sanity/schemas/_locales.ts
@@ -1,5 +1,5 @@
export const supportedLanguages = [
- { id: 'en', title: 'English' },
- { id: 'nb', title: 'Norwegian', isDefault: true },
+ { id: 'en', iso: "en-GB", title: 'English' },
+ { id: 'nb', iso: "nb-NO", title: 'Norwegian', isDefault: true },
]
export const baseLanguage = supportedLanguages.find(l => l.isDefault) as { id: string, title: string }; \ No newline at end of file