Miscellaneous helper class
- Source:
Methods
(method) Translate(keys:, targetLang:, tableName:, parentKeyName:, fieldName:, taskId:)
Translate a list of keys in a table
Parameters:
Name | Type | Description |
---|---|---|
keys: |
The list of keys |
|
targetLang: |
The target language |
|
tableName: |
The table name |
|
parentKeyName: |
The parent key name |
|
fieldName: |
The field name |
|
taskId: |
The task ID |
- Source:
(method) TranslateString(sourceLang:, targetLang:, text:, asJson:)
Translate a string
Parameters:
Name | Type | Description |
---|---|---|
sourceLang: |
The source language |
|
targetLang: |
The target language |
|
text: |
The text to translate |
|
asJson: |
Return the result as JSON |
- Source: