2022-08-11 10:20:49 +02:00

16 lines
266 B
JavaScript

'use strict';
const getCoreStore = () => {
return strapi.store({ type: 'plugin', name: 'i18n' });
};
// retrieve a local service
const getService = (name) => {
return strapi.plugin('i18n').service(name);
};
module.exports = {
getService,
getCoreStore,
};