Er du tilfreds med indholdet i denne her guide?

Hvis ikke, så vil vi meget gerne høre dine kommentarer.

Skriv dem herunder, så gør vi det bedste, vi kan for at forbedre manualen.

Tak for din kommentar!

Send ny?

Dansk English

SmartWeb Help | API

2.3. Choose a language

SmartWeb online store and CMS supports several languages. A dataextract from the API always contains language specific data in one specified language.
The language of the data can be set by specifying an ISO code for the extract. In the following example the language is set to Danish:

$Client->Solution_SetLanguage(array('LanguageISO' => 'DK'));

This effects both extracts, updates and creation of new entities.

The lsit of available languages and their ISO code for a solution can be seen in the administration in the Control panel -> Languages & domains section.

If an unavailable ISO code is set, a fault will be returned by the API. For more information about faultcodes, see section 4.