paper-ai-release-24-07-21/app/i18n/settings.js
2024-02-12 20:55:14 +08:00

17 lines
368 B
JavaScript

export const fallbackLng = "en";
export const languages = [fallbackLng, "zh-CN"];
export const defaultNS = "translation";
export const cookieName = "i18next";
export function getOptions(lng = fallbackLng, ns = defaultNS) {
return {
// debug: true,
supportedLngs: languages,
fallbackLng,
lng,
fallbackNS: defaultNS,
defaultNS,
ns,
};
}