Skip to content

Commit

Permalink
Remove unused localization files in build
Browse files Browse the repository at this point in the history
  • Loading branch information
nuno-aac committed Nov 29, 2023
1 parent 8a3b824 commit d46c25c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workspaces/cms-data/src/i18n/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const i18nConfig: readonly LocaleConfig[] = [
langDir: "ltr",
dateFormat: "MM/DD/YYYY",
},
{
/*{
code: "af",
hrefLang: "af",
name: "Afrikaans",
Expand Down Expand Up @@ -231,10 +231,10 @@ export const i18nConfig: readonly LocaleConfig[] = [
localName: "简体中文",
langDir: "ltr",
dateFormat: "YYYY-MM-DD",
},
},*/
];

export const defaultLocale = "en";

export const locales: readonly string[] = i18nConfig.map((c) => c.code);
export const preRenderedLocales: readonly string[] = ["en", "zh"];
export const preRenderedLocales: readonly string[] = ["en"];

0 comments on commit d46c25c

Please sign in to comment.