mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-20 11:22:55 -05:00
feat(i18n): add Simplified Chinese (zh-CN) translations
This commit is contained in:
@@ -12,6 +12,9 @@ vi.mock("@/locales/fr-FR.json", () => ({}));
|
||||
vi.mock("@/locales/pt-BR.json", () => ({}));
|
||||
vi.mock("@/locales/pt-PT.json", () => ({}));
|
||||
vi.mock("@/locales/zh-Hant-TW.json", () => ({}));
|
||||
vi.mock("@/locales/ro-RO.json", () => ({}));
|
||||
vi.mock("@/locales/ja-JP.json", () => ({}));
|
||||
vi.mock("@/locales/zh-CN.json", () => ({}));
|
||||
|
||||
describe("Tolgee Configuration", () => {
|
||||
beforeEach(() => {
|
||||
@@ -37,6 +40,7 @@ describe("Tolgee Configuration", () => {
|
||||
"zh-Hant-TW",
|
||||
"ro-RO",
|
||||
"ja-JP",
|
||||
"zh-CN",
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -4,7 +4,7 @@ import { DevTools, Tolgee } from "@tolgee/web";
|
||||
const apiKey = process.env.NEXT_PUBLIC_TOLGEE_API_KEY;
|
||||
const apiUrl = process.env.NEXT_PUBLIC_TOLGEE_API_URL;
|
||||
|
||||
export const ALL_LANGUAGES = ["en-US", "de-DE", "fr-FR", "pt-BR", "pt-PT", "zh-Hant-TW", "ro-RO", "ja-JP"];
|
||||
export const ALL_LANGUAGES = ["en-US", "de-DE", "fr-FR", "pt-BR", "pt-PT", "zh-Hant-TW", "ro-RO", "ja-JP", "zh-CN"];
|
||||
|
||||
export const DEFAULT_LANGUAGE = "en-US";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user