applications.updateApplicationLanguage

Syntax

bool applications.updateApplicationLanguage ( int appid, string code, array newValues )

Argument Info

NameTypeRequiredDefault valueDescription
appidintRequirednoneapplication id
codestringRequirednoneThe language code: ie: 'en'
newValuesarrayRequirednoneThe values you wish to update for the language

Fields

List of fields needed to update the language for of an application.

NameTypeDescriptionPossible Values
appidINTThe ID of the application you wish to update the language for.INT
codeINTThe language code: ie: 'en' for English.'en'
newValuesARRAYThe values you wish to update for the language.newValues[code]=en&newValues[display_text]=English

Response

The response result on successful completion of the updating the langage data for the application.

NameDescriptionSuccessError
resultThe response from the request.1<error><message>Invalid display_text: MID</message><type>FileMobile_Storage_FileNotFoundException</type><code>0</code></error>

Return Values

FieldDescriptionPossible Values