* feat: setup localisation with lingui * Fix hydration and locale issues * Add missing translations and tweak selector styling * Extend language support * Update lang support * Extend lang support * Fix build and add dyanmic imports
16 lines
320 B
TypeScript
16 lines
320 B
TypeScript
import type { LinguiConfig } from "@lingui/conf";
|
|
|
|
const config: LinguiConfig = {
|
|
locales: ["en", "fr", "de", "es", "it", "nl"],
|
|
sourceLocale: "en",
|
|
catalogs: [
|
|
{
|
|
path: "src/locales/{locale}/messages",
|
|
include: ["src"],
|
|
exclude: ["**/node_modules/**"],
|
|
},
|
|
],
|
|
};
|
|
|
|
export default config;
|