core icon indicating copy to clipboard operation
core copied to clipboard

Translation actionlet - Add ability to set API key from UI

Open dsilvam opened this issue 10 years ago • 3 comments

  1. Allow user to set "global" translation api keys as a value in dotmarketing-config.properties (if they want)
  2. Add the api keys as actionlet params to the translation actionlet
  3. Use any value in the dotmarketing-config.properties as the default value for the actionlet param in any new instance of the actionletlet (or empty if it is not set in the dotmarketing-config.properties)
  4. Allow a user override the api keys in actionletlet params if needed

dsilvam avatar Jun 30 '16 20:06 dsilvam

PR: https://github.com/dotCMS/core/pull/9328

dsilvam avatar Jul 05 '16 21:07 dsilvam

Added the config to the documentation: http://auth.dotcms.com/docs/latest/translate-content-sub-action#translateConfig

DeanGonzalez avatar Jul 07 '16 22:07 DeanGonzalez

Passed QA. Fix is working as expected in Acceptance Criteria Tested locally in: master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Chrome & Firefox

shaydotcms avatar Jul 08 '16 22:07 shaydotcms