mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-22 23:46:12 +01:00
feature: add Spanish language support (#214)
* create ES i18n json * add ES locale to i18n and existing locales * capitalize words at es.json * Add missing translation --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { getRequestConfig } from 'next-intl/server'
|
||||
import { getUserLocale } from './lib/locale'
|
||||
|
||||
export const locales = ['en-US', 'fi', 'fr-FR'] as const
|
||||
export const locales = ['en-US', 'fi', 'fr-FR', 'es'] as const
|
||||
export type Locale = (typeof locales)[number]
|
||||
export type Locales = ReadonlyArray<Locale>
|
||||
export const defaultLocale: Locale = 'en-US'
|
||||
|
||||
Reference in New Issue
Block a user