The WebHelp with Feedback system uses 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.
We'll suppose that you want to localize the emails into Dutch. Follow these steps:
DocBook to WebHelp with Feedback
- create the following
directory:
[OXYGEN_DIR]\frameworks\docbook\xsl\com.oxygenxml.webhelp\oxygen-webhelp\resources\php\templates\nl
- copy all English template files from
[OXYGEN_DIR]\frameworks\docbook\xsl\com.oxygenxml.webhelp\oxygen-webhelp\resources\php\templates\en
and paste them into the directory you just created
- edit the HTML files from the
[OXYGEN_DIR]\frameworks\docbook\xsl\com.oxygenxml.webhelp\oxygen-webhelp\resources\php\templates\nl
directory and translate the content into Dutch
- start Oxygen XML Editor and edit the WebHelp with Feedback
transformation scenario
- in the Parameters tab look for the
l10n.gentext.default.language parameter and set its value to the
appropriate language code. In our example, use the value nl for
Dutch
Note: If you set the parameter to a value such as
LanguageCode-CountryCode (for example, en-us), the
transformation scenario will only use the language code
- execute the transformation scenario to obtain the WebHelp with Feedback
output
DITA to WebHelp with Feedback
- create the following
directory:
[OXYGEN_DIR]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\php\templates\nl
- copy all English template files from
[OXYGEN_DIR]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\php\templates\en
and paste them into the directory you just created
- edit the HTML files from the
[OXYGEN_DIR]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\php\templates\nl
directory and translate the content into Dutch
- start Oxygen XML Editor and edit the WebHelp with Feedback
transformation scenario
- in the Parameters tab look for the
args.default.language parameter and set its value to the appropriate
language code. In our example, use the value nl for Dutch
Note: If you set
the parameter to a value such as LanguageCode-CountryCode (for example,
en-us), the transformation scenario will only use the language
code
- execute the transformation scenario to obtain the WebHelp with Feedback
output