"use client";
import { createContext } from "react";
import { defaultLocale, locales } from "./locales.js";
import { translations } from "./translations/index.js";
const defaultValue = {
  supportedLocales: locales,
  translations,
  locale: defaultLocale,
  setLocale: () => {
  },
  pathWithoutLocale: "/"
};
const I18nContext = createContext(defaultValue);
I18nContext.defaultValue = defaultValue;
export {
  I18nContext
};
