|
Method
|
GET
|
|
URL
|
/<instance>/translations
|
|
Parameters
|
language, keys, application, object, origin
|
|
Response Content Type
|
application/json
|
{
"Showcase Content: Attachments": "Showcase Content: Attachments",
"Object and Field": "Object and Field",
"Owner": "Owner",
"Platform Changes Permitted": "Platform Changes Permitted",
"Record ID": "Record ID",
"Showcase Timestamp": "Showcase Timestamp",
"Page Document": "Page Document",
"Showcase Currency Amount": "Showcase Currency Amount",
.
.
}
{
"io_object": {
"8b283436-18f9-3cb7-a1f8-2d330fe154cf": {
"io_name": "User"
},
"bf35c30e-c6e5-11e0-be1e-001ec93afa2c": {
"io_name": "Account"
}
}
}
|
Parameter
|
Description
|
DataType
|
Example
|
||
|---|---|---|---|---|---|
|
language
|
Language code for which to retrieve translations. If not specified, the authenticated user’s language is used.
|
String
|
Retrieve all existing translations for Spanish:
/<instance>/translations?language=es |
||
|
keys
|
Indicates the subset of translations to retrieve. If not specified, and object is not specified, all translations are retrieved. Keys that include commas must be enclosed in double quotes.
|
String
|
Retrieve the translated keys Dashboard Components, Report Name and User Management:
/<instance>/translations?keys=Dashboard Components,Report Name,User Management Retrieve the translated key containing a comma Agriculture, Forestry and Fishing:
/<instance>/translations?keys="Agriculture, Forestry and Fishing" |
||
|
application
|
Application scope of translations to retrieve. Specify the application full identifier or the application UUID. If not specified, and object is not specified, all translations for the application are retrieved.
|
String
|
Retrieve all existing translations for Max Designer:
/<instance>/translations?application=io_designer or
/<instance>/translations?application=7a4979b5-ceb1-47a9-842b-7c761748fbc5 |
||
|
object
|
Object for which translated metadata is retrieved. Specify the object full identifier. If not specified, and keys is not specified, all translations are retrieved. Output format is the same as what is retrieved by the Object metadata service with translation. For example JSON output, see Object Metadata Translation.
|
String
|
Retrieve translated metadata for the Showcase object:
/<instance>/translations?object=io_showcase |
||
|
origin
|
Origin (code or metadata) to use to filter translations to be retrieved.
|
String
|
Retrieve code translations for authenticated user’s language:
instance/translations?origin=code Retrieve metadata translations for French:
instance/translations?origin=metadata&language=fr |
|
HTTP Status Code
|
Error Message
|
|---|---|
|
200
|
OK
|
|
500
|
Internal Server Error / Serialization Error
|
https://<server>/<instance>/translations?application=io_designer
https://<server>/<instance>/translations?language=es
https://<server>/<instance>/translations?language=zh&keys=Showcase String Localized,Text Localized
https://<server>/<instance>/translations?keys="Agriculture, forestry and fishing",Showcase
https://<server>/<instance>/translations?language=zh&application=io_designer&keys=Showcase String Localized,Text Localized
https://<server>/<instance>/translations?language=fr&object=io_showcase