2021-08-19 23:30:49 +02:00

20 lines
296 B
JavaScript

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