"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var _exportNames = {
  i18n: true,
  setLocale: true
};
exports.i18n = void 0;
exports.setLocale = setLocale;
var _messages = require("@inkline/inkline/i18n/messages");
var _translate = require("@inkline/inkline/i18n/translate");
Object.keys(_translate).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _translate[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function () {
      return _translate[key];
    }
  });
});
const i18n = exports.i18n = {
  locale: "en",
  messages: {
    en: _messages.en
  }
};
function setLocale(locale) {
  i18n.locale = locale;
}