If you have a help project and want to have it written in more than one language, the files generated from templates do not take the culture into account.
For example, lets say you have a DEE described in two languages, the neutral one and Taiwanese Chinese (zh-TW).
After cmf build the cmf-custom-help.deeactions_template is going to generate a cmf-custom-help.deeactions.md file with duplicated entries.
The GenerateBasedOnTemplatesCommand command should be able to identify the supported cultures configured in the documentation app (config.json > general.supportedCultures) and generate separated .md from the _template for each one. It should also support having a template for each culture as well.
For example, lets consider the following config:
If you have a help project and want to have it written in more than one language, the files generated from templates do not take the culture into account.
For example, lets say you have a DEE described in two languages, the neutral one and Taiwanese Chinese (zh-TW). After
cmf build
the cmf-custom-help.deeactions_template is going to generate a cmf-custom-help.deeactions.md file with duplicated entries.The
GenerateBasedOnTemplatesCommand
command should be able to identify the supported cultures configured in the documentation app (config.json > general.supportedCultures) and generate separated .md from the _template for each one. It should also support having a template for each culture as well. For example, lets consider the following config:Then under templates we would have two template files:
After build it would have generated two .md files: