How to Localize Email Notifications of Feedback SystemEdit online
The feedback-enabled WebHelp Responsive systems use emails to notify users when comments are posted. These emails are based on templates stored in the WebHelp directory. The default messages are in English, French, German, and Japanese. These messages are copied into the WebHelp system deployment directory during the execution of the corresponding transformation scenario.
Using a Publishing Template
To change the language of the emails for DITA Map WebHelp Responsive with Feedback output
using an Oxygen Publishing
Template, follow this procedure:
- Create the following directory:
DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\oxygen-webhelp\resources\php\templates\nl
- Copy all English template files from DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\oxygen-webhelp\resources\php\templates\en and paste them into the directory you just created.
- Edit the HTML files from the DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\oxygen-webhelp\resources\php\templates\nl directory and translate the content into your language.
- Open the template descriptor file associated with your publishing template and add the
default.languageparameter in the parameters section with its value set to the appropriate language code (for example,nlfor Dutch).Note: If you set the parameter to a value such asLanguageCode-CountryCode(for example,en-us), the transformation scenario will only use the language code.<publishing-template> ... <webhelp> ... <parameters> <parameter name="default.language" value="nl"/> </parameters> </webhelp> - Open the DITA Map WebHelp Responsive transformation scenario.
- Click the Choose Custom Publishing Template link and select your template.
- Click OK to save the changes to the transformation scenario.
- Run the transformation scenario.
Using a Transformation Scenario in Oxygen XML Editor/Author
To change the language of the emails for DITA Map WebHelp Responsive with Feedback output
using a transformation scenario from within Oxygen XML Editor/Author, follow this procedure:
- Create the following directory:
DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\oxygen-webhelp\resources\php\templates\nl
- Copy all English template files from DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\oxygen-webhelp\resources\php\templates\en and paste them into the directory you just created.
- Edit the HTML files from the DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\oxygen-webhelp\resources\php\templates\nl directory and translate the content into your language.
- Edit a DITA Map WebHelp Responsive transformation scenario and open the Parameters tab.
- In the Parameters tab, look for the
default.languageparameter and set its value to the appropriate language code (for example,nlfor Dutch).Note: If you set the parameter to a value such asLanguageCode-CountryCode(for example,en-us), the transformation scenario will only use the language code. - Run the transformation scenario.