projectTranslationUpdate()
Scans all panels and scripts from one project level and updates the translation file.
Synopsis
int projectTranslationUpdate(mapping options);
Parameters
Parameter | Description |
---|---|
options |
The mapping can have the following key(string)/datatype of value, all key/value pairs are optional:
|
Return value
The function returns 0 in case of success, -1 on error.
Error
In case of an error (e.g. a panel can not be opened), no translation file will be updated.
Description
The function scans all panels and scripts from one project level and updates the <translations>.ts file in all /msg/ subdirectories it finds.
Assignment
Multi-language capability
Availability
CTRL