// (C) 2021-2025 GoodData Corporation
import { createIntl } from "react-intl";
import { DefaultLocale, resolveLocaleDefaultMessages } from "@gooddata/sdk-ui";
import { DEFAULT_MESSAGES } from "./translations.js";
/**
 * Test intl utils
 * @internal
 */
export function createInternalIntl(locale = DefaultLocale) {
    return createIntl({
        locale,
        messages: resolveLocaleDefaultMessages(locale, DEFAULT_MESSAGES),
    });
}
