Supporting Multiple Languages

The RESTful Web Service SDKs support BI platform localized documents. To use localized documents, include the following declarations in the request header:

Header Value
Accept-Language

The preferred language used to retrieve system and error messages. This corresponds to the Product Locale (PL) of the BI platform. Value is of type en-US.

X-SAP-PVL

The preferred language used to retrieve BI resource content. This corresponds to the Preferred Viewing Language (PVL). Value is of type en-US.

The RESTful web service opens one instance of the Web Intelligence document in memory for each Preferred Viewing Locale requested by the client.

See the next section for an example.