import { initI18n } from '@payloadcms/translations';
import { translations } from '@payloadcms/translations/api';
export const getLocalI18n = async ({ config, language = 'en' })=>initI18n({
        config: config.i18n,
        context: 'api',
        language,
        translations
    });

//# sourceMappingURL=getLocalI18n.js.map