UNPKG

@shawnvogt/strapi-plugin-google-translate

Version:

Strapi plugin for automated translation of content using Google Cloud Translation

17 lines (16 loc) 354 B
module.exports = [ { method: 'POST', path: '/translate', handler: 'gctController.translate', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'plugin::content-manager.hasPermissions', config: { actions: ['plugin::gct.translate'] }, }, ], }, }, ]