Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/src/i18n/i18n-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type BaseLocale = 'en'

export type Locales =
| 'en'
| 'ko'
| 'pl'

export type Translation = RootTranslation
Expand Down
1 change: 1 addition & 0 deletions web/src/i18n/i18n-util.async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { loadedFormatters, loadedLocales, locales } from './i18n-util'

const localeTranslationLoaders = {
en: () => import('./en'),
ko: () => import('./ko'),
pl: () => import('./pl'),
}

Expand Down
2 changes: 2 additions & 0 deletions web/src/i18n/i18n-util.sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import type { Locales, Translations } from './i18n-types'
import { loadedFormatters, loadedLocales, locales } from './i18n-util'

import en from './en'
import ko from './ko'
import pl from './pl'

const localeTranslations = {
en,
ko,
pl,
}

Expand Down
1 change: 1 addition & 0 deletions web/src/i18n/i18n-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const baseLocale: Locales = 'en'

export const locales: Locales[] = [
'en',
'ko',
'pl'
]

Expand Down
Loading