export const i18nRuntimeConfig = {
  resources: ["en-US", "zh-CN", "ko-KR", "ru-RU"],
  fallbackLanguage: "zh-CN",
  detection: {
    order: ["querystring", "localStorage", "navigator"],
    lookupQuerystring: "lang",
    lookupLocalStorage: "i18nextLng",
    caches: ["localStorage"],
  },
};

export function getLoadedTranslationNamespaces() {
  return Object.keys(window.XBOARD_TRANSLATIONS || {});
}
