Feat/i18n restructure (#2529)
This commit is contained in:
parent
91ea6fe4ee
commit
9574730050
140 changed files with 448 additions and 659 deletions
|
|
@ -5,14 +5,12 @@ type II18NContext = {
|
|||
locale: Locale
|
||||
i18n: Record<string, any>
|
||||
setLocaleOnClient: (locale: Locale, reloadPage?: boolean) => void
|
||||
// setI8N: (i18n: Record<string, string>) => void,
|
||||
}
|
||||
|
||||
const I18NContext = createContext<II18NContext>({
|
||||
locale: 'en',
|
||||
locale: 'en-US',
|
||||
i18n: {},
|
||||
setLocaleOnClient: (lang: Locale, reloadPage?: boolean) => { },
|
||||
// setI8N: () => {},
|
||||
})
|
||||
|
||||
export default I18NContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue