@progress/kendo-react-intl
Version: 
React Internationalization package provides services for parsing and formatting of dates and numbers. KendoReact Internationalization package
29 lines (28 loc) • 892 B
JavaScript
/**
 * @license
 *-------------------------------------------------------------------------------------------
 * Copyright © 2025 Progress Software Corporation. All rights reserved.
 * Licensed under commercial license. See LICENSE.md in the package root for more information
 *-------------------------------------------------------------------------------------------
 */
import { messages as c } from "./messages.mjs";
const p = /* @__PURE__ */ Object.create({}), r = (s, o, t) => {
  for (const e in s)
    if (s.hasOwnProperty(e)) {
      const n = [...t];
      if (n.push(e), typeof s[e] != "string")
        r(s[e], o, n);
      else {
        const f = s[e];
        Object.defineProperty(o, n.join("."), { value: f, enumerable: !0 });
      }
    }
};
function a(s, o) {
  const t = c[o] = c[o] || {};
  p.lang = o, r(s, t, []);
}
export {
  p as languages,
  a as loadMessages
};