import { registerTranslatableFields } from "@open-mercato/shared/lib/localization/translatable-fields";
import { registerTranslationOverlayPlugin } from "@open-mercato/shared/lib/localization/overlay-plugin";
import { translatableFields as catalogFields } from "../catalog/translations.js";
import { translatableFields as dictionaryFields } from "../dictionaries/translations.js";
import { translatableFields as entitiesFields } from "../entities/translations.js";
import { translatableFields as resourcesFields } from "../resources/translations.js";
import { applyTranslationOverlays } from "./lib/apply.js";
import { resolveLocaleFromRequest } from "./lib/locale.js";
function register() {
  registerTranslatableFields(catalogFields);
  registerTranslatableFields(dictionaryFields);
  registerTranslatableFields(entitiesFields);
  registerTranslatableFields(resourcesFields);
  registerTranslationOverlayPlugin(applyTranslationOverlays, resolveLocaleFromRequest);
}
export {
  register
};
//# sourceMappingURL=di.js.map
