From a8b44b09a404aee477e735501b828d1b14aad311 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 7 Jun 2022 01:33:52 +0200 Subject: feat: Add inital translation support --- apps/projects/src/app/lib/i18n/formatters.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 apps/projects/src/app/lib/i18n/formatters.ts (limited to 'apps/projects/src/app/lib/i18n/formatters.ts') diff --git a/apps/projects/src/app/lib/i18n/formatters.ts b/apps/projects/src/app/lib/i18n/formatters.ts new file mode 100644 index 0000000..78734f9 --- /dev/null +++ b/apps/projects/src/app/lib/i18n/formatters.ts @@ -0,0 +1,11 @@ +import type { FormattersInitializer } from 'typesafe-i18n' +import type { Locales, Formatters } from './i18n-types' + +export const initFormatters: FormattersInitializer = (locale: Locales) => { + + const formatters: Formatters = { + // add your formatter functions here + } + + return formatters +} -- cgit v1.3