Update Languages
post
/config/sim/v1/setup/updateLanguages
Updates the language. If language is not found is not found, it creates a new language.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string(string)
Detail that Identifies that who made the change
Language Resource Object
Root Schema : LanguageCUDRequestBody
Type:
object
Model for Language Object
Show Source
-
compareFlag:
integer
This field is used for comparison of strings when strings are to be sorted.Example:
1
-
customerDisplayFont:
string
The font for the customer display.
-
customNumerals:
string
The digit to print in place of the value shown. Leave blank to use the hard-coded values shown.Example:
0123456789
-
keyboardLayoutObjNum:
integer
The object number of the keyboard layoutExample:
1033
-
languageCulture:
string
The abbreviated language code.Example:
en-US
-
localeId:
integer
List of values for LocaleId and KeyboardLayoutObjNum. Format - "localeId, localeKey, localeString" | localeID | localeKey | localeString | |-----------|-----------|-------------------------------| |1025| ar-SA| Arabic - Saudi Arabia| |1026| bg-BG| Bulgarian| |1027| ca-ES| Catalan| |1028| zh-TW| Chinese - Taiwan| |1029| cs-CZ| Czech| |1030| da-DK| Danish| |1031| de-DE| German - Germany| |1032| el-GR| Greek| |1033| en-US| English - United States| |1034| es-ES| Spanish - Spain (Traditional Sort)| |1035| fi-FI| Finnish| |1036| fr-FR| French - France| |1037| he-IL| Hebrew| |1038| hu-HU| Hungarian| |1039| is-IS| Icelandic| |1040| it-IT| Italian - Italy| |1041| ja-JP| Japanese| |1042| ko-KR| Korean| |1043| nl-NL| Dutch - Netherlands| |1044| nb-NO| Norwegian (Bokm??l)| |1045| pl-PL| Polish| |1046| pt-BR| Portuguese - Brazil| |1048| ro-RO| Romanian| |1049| ru-RU| Russian| |1050| hr-HR| Croatian| |1051| sk-SK| Slovak| |1052| sq-AL| Albanian - Albania| |1053| sv-SE| Swedish| |1054| th-TH| Thai| |1055| tr-TR| Turkish| |1056| ur-PK| Urdu - Pakistan| |1057| id-ID| Indonesian| |1058| uk-UA| Ukrainian| |1059| be-BY| Belarusian| |1060| sl-SI| Slovenian| |1061| et-EE| Estonian| |1062| lv-LV| Latvian| |1063| lt-LT| Lithuanian| |1065| fa-IR| Persian| |1066| vi-VN| Vietnamese| |1067| hy-AM| Armenian - Armenia| |1068| az-Latn-AZ| Azeri (Latin)| |1069| eu-ES| Basque| |1071| mk-MK| F.Y.R.O. Macedonian| |1078| af-ZA| Afrikaans - South Africa| |1079| ka-GE| Georgian| |1080| fo-FO| Faroese| |1081| hi-IN| Hindi| |1086| ms-MY| Malay - Malaysia| |1087| kk-KZ| Kazakh| |1088| ky-KG| Kyrgyz (Cyrillic)| |1089| sw-KE| Swahili| |1091| uz-Latn-UZ| Uzbek (Latin)| |1092| tt-RU| Tatar| |1094| pa-IN| Punjabi| |1095| gu-IN| Gujarati| |1097| ta-IN| Tamil| |1098| te-IN| Telugu| |1099| kn-IN| Kannada| |1102| mr-IN| Marathi| |1103| sa-IN| Sanskrit| |1104| mn-MN| Mongolian (Cyrillic)| |1110| gl-ES| Galician| |1111| kok-IN| Konkani| |1114| syr-SY| Syriac| |1125| dv-MV| Divehi| |2049| ar-IQ| Arabic - Iraq| |2052| zh-CN| Chinese - People's Republic of China| |2055| de-CH| German - Switzerland| |2057| en-GB| English - United Kingdom| |2058| es-MX| Spanish - Mexico| |2060| fr-BE| French - Belgium| |2064| it-CH| Italian - Switzerland| |2067| nl-BE| Dutch - Belgium| |2068| nn-NO| Norwegian (Nynorsk)| |2070| pt-PT| Portuguese - Portugal| |2074| sr-Latn-CS| Serbian (Latin)| |2077| sv-FI| Swedish - Finland| |2092| az-Cyrl-AZ| Azeri (Cyrillic)| |2110| ms-BN| Malay - Brunei Darussalam| |2115| uz-Cyrl-UZ| Uzbek (Cyrillic)| |3073| ar-EG| Arabic - Egypt| |3076| zh-HK| Chinese - Hong Kong SAR| |3079| de-AT| German - Austria| |3081| en-AU| English - Australia| |3082| es-ES| Spanish - Spain (Modern Sort)| |3084| fr-CA| French - Canada| |3098| sr-Cyrl-CS| Serbian (Cyrillic)| |4097| ar-LY| Arabic - Libya| |4100| zh-SG| Chinese - Singapore| |4103| de-LU| German - Luxembourg| |4105| en-CA| English - Canada| |4106| es-GT| Spanish - Guatemala| |4108| fr-CH| French - Switzerland| |5121| ar-DZ| Arabic - Algeria| |5124| zh-MO| Chinese - Macao SAR| |5127| de-LI| German - Liechtenstein| |5129| en-NZ| English - New Zealand| |5130| es-CR| Spanish - Costa Rica| |5132| fr-LU| French - Luxembourg| |6145| ar-MA| Arabic - Morocco| |6153| en-IE| English - Ireland| |6154| es-PA| Spanish - Panama| |6156| fr-MC| French - Monaco| |7169| ar-TN| Arabic - Tunisia| |7177| en-ZA| English - South Africa| |7178| es-DO| Spanish - Dominican Republic| |8193| ar-OM| Arabic - Oman| |8201| en-JM| English - Jamaica| |8202| es-VE| Spanish - Venezuela| |9217| ar-YE| Arabic - Yemen| |9225| en-029| English - Caribbean| |9226| es-CO| Spanish - Colombia| |10241| ar-SY| Arabic - Syria| |10249| en-BZ| English - Belize| |10250| es-PE| Spanish - Peru| |11265| ar-JO| Arabic - Jordan| |11273| en-TT| English - Trinidad| |11274| es-AR| Spanish - Argentina| |12289| ar-LB| Arabic - Lebanon| |12297| en-ZW| English - Zimbabwe| |12298| es-EC| Spanish - Ecuador| |13313| ar-KW| Arabic - Kuwait| |13321| en-PH| English - Philippines| |13322| es-CL| Spanish - Chile| |14337| ar-AE| Arabic - U.A.E.| |14346| es-UY| Spanish - Uruguay| |15361| ar-BH| Arabic - Bahrain| |15370| es-PY| Spanish - Paraguay| |16385| ar-QA| Arabic - Qatar| |16394| es-BO| Spanish - Bolivia| |17418| es-SV| Spanish - El Salvador| |18442| es-HN| Spanish - Honduras| |19466| es-NI| Spanish - Nicaragua| |20490| es-PR| Spanish - Puerto Rico|Example:
1033
-
mappingFont:
string
Use Vmap for Thai and Japanese. Use Amap otherwise.Example:
Amap
-
name(required):
object name
name of the language
-
objectNum(required):
integer
Object Number of the language.Example:
1
-
printOptions:
string
A string value of 0s & 1s of length 8 representing the enablement or disablement of the print options associated with the language.Example:
00000000
-
reportFont:
string
The font to use for the language in the Extensible Client local reports.
-
reportFontSize:
integer
The font size to use for the language in the Extensible Client local reports.Example:
23
-
reverseWOrientation:
boolean
A Boolean flag to using Hebrew language in printing. Setting this option will reverse the order of the characters in the word so that the words read correctly.Example:
false
-
rightToLeftOrientation:
boolean
A Boolean flag indicating to have the check detail area and customer receipts appear in right-to-left orientation.Example:
false
-
textFileConfigurations:
array textFileConfigurations
An array of all the translated XML text files for the language.
-
textFileName:
string
The file name that contains the translated version of the XML text files.Example:
translations.xml
Nested Schema : name
Type:
object
name of the language
Example:
{
"en-US":"US",
"de-DE":"de"
}
Nested Schema : textFileConfigurations
Type:
array
An array of all the translated XML text files for the language.
Show Source
Nested Schema : Language_textFileConfigurations
Type:
Show Source
object
-
baseFileName:
string
The base file name for the translated XML file.Example:
trans_file.xml
-
fileType:
integer
The file type of the translated XML file. Select 0 - Custom for any file type not listed.Example:
0
-
languageText:
string
The contents of the translated XML file.Example:
language text
Response
Supported Media Types
- application/json
200 Response
Response object
Root Schema : LanguageResponse
Type:
Show Source
object
-
objectNum(required):
integer
Object number of the languageExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(required):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(required):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(required):
integer
Error code of the problemExample:
55223
-
status(required):
integer
HTTP status code.Example:
400
-
title(required):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(required):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html