import {
  buildLocalizedLocationLabel,
  formatLocalizedSeoTitle,
} from "@/lib/i18n/seo";
import { DEFAULT_LANGUAGE, type AppLanguage } from "@/lib/i18n/registry";

/** @deprecated Use formatLocalizedSeoTitle(core, lang) */
export function formatSeoTitle(
  core: string,
  lang: AppLanguage = DEFAULT_LANGUAGE
): string {
  return formatLocalizedSeoTitle(core, lang);
}

/** @deprecated Use buildLocalizedLocationLabel(options, lang) */
export function buildLocationLabel(
  options: { cityName?: string; provinceName?: string },
  lang: AppLanguage = DEFAULT_LANGUAGE
): string {
  return buildLocalizedLocationLabel(options, lang);
}
