Translations in CloudCode
The same translation files used in the application can be used in CloudCode, although the translation function itself is not provided currently.
Step 1: Add the js-yaml library
Use the instructions in CloudCode Dependencies to add the js-yaml library to the task:
Step 2: Read the file
The translation document can now be used inside the task.
Further reading:
For more information on how translations work for an app, please read the following documentation:
TranslationsLast updated