{"id":2284,"date":"2020-09-24T11:32:01","date_gmt":"2020-09-24T11:32:01","guid":{"rendered":"https:\/\/support.itscope.hostpress.me\/?post_type=kb&#038;p=2284"},"modified":"2026-02-28T01:14:10","modified_gmt":"2026-02-27T23:14:10","slug":"content-in-different-languages","status":"publish","type":"kb","link":"https:\/\/guide.itscope.com\/en\/kb\/content-in-different-languages\/","title":{"rendered":"Content in different languages"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"1\">HTTP Header Accept-Language<\/h2>\n\n\n\n<p>Desired languages for product content can only be set via the HTTP header <strong>Accept-Language<\/strong>, in the header of the request of an HTTP client (e.g. browser or application).<\/p>\n\n\n\n<p><strong>Web browser<\/strong><\/p>\n\n\n\n<p>For example, a browser may have the following information in the <strong>Accept-Language<\/strong> field:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 <\/pre>\n\n\n\n<p>This would request the product content in German (de_de) and English (en_us).<\/p>\n\n\n\n<p><strong>Application via HTTP client<\/strong><\/p>\n\n\n\n<p>An HTTP application client can now also set analogous to the browser <strong>Accept-Language<\/strong> field, or can use ITscope internal language codes. These can be entered in a comma-separated format in order to obtain the product content in several languages.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2\">ITscope API language codes<\/h2>\n\n\n\n<p>The ITscope API can interpret the following language codes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>de &#8211; German<\/li>\n\n\n\n<li>en &#8211; English<\/li>\n\n\n\n<li>fr &#8211; French<\/li>\n\n\n\n<li>it &#8211; Italian<\/li>\n\n\n\n<li>es &#8211; Spanish<\/li>\n\n\n\n<li>nl &#8211; Dutch<\/li>\n<\/ul>\n\n\n\n<p>As an example, the following value would be set in the HTTP Accept-Language header for English and French product content: &#8216;<strong>en, fr<\/strong>&#8216;.<\/p>\n\n\n\n<p>Content for all available languages can be retrieved with:&nbsp;&#8216;<strong>de, en, fr, nl, it, es<\/strong>&#8216;.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set content language via API for data formats<\/h2>\n\n\n\n<p>If no HTTP Header Accept-Language is specified, <strong>content in German is always returned as the default<\/strong>.<\/p>\n\n\n\n<p>There are two sections in which texts, i.e. text content, are specified. At product level, this applies to data format <a href=\"https:\/\/guide.itscope.com\/en\/kb\/format-description-for-products-data-format-standard\/\">standard<\/a><\/p>\n\n\n\n<p><strong>Rules for data format standard<\/strong><\/p>\n\n\n\n<p>In the <a href=\"https:\/\/guide.itscope.com\/en\/kb\/format-description-for-products-data-format-standard\/\">standard<\/a> data format, contents can only be retrieved in <strong>one language<\/strong> at a time. This means that the transfer of e.g. &#8216;<strong>fr,de<\/strong>&#8216; in the HTTP header Accept-Language would always only display the content in the language of the first language code. In our example, only content in French would be displayed.<\/p>\n\n\n\n<p>In the <a href=\"https:\/\/guide.itscope.com\/en\/kb\/format-description-for-products-data-format-standard\/\">standard<\/a> data format, the specification of the Accept-Language HTTP header applies to content at product level.<\/p>\n\n\n\n<p><strong><meta charset=\"utf-8\"><\/meta><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set content language via export for data formats<\/h2>\n\n\n\n<p>For the export, the language(s) can be explicitly defined within the <a href=\"https:\/\/guide.itscope.com\/en\/kb\/setting-up-a-data-export\/\">export definition<\/a>, depending on the data format.<\/p>\n\n\n\n<p><strong><meta charset=\"utf-8\"><strong>Rules for data format standard<\/strong><\/strong><\/p>\n\n\n\n<p>In the <a href=\"https:\/\/guide.itscope.com\/en\/kb\/format-description-for-products-data-format-standard\/\">standard<\/a> data format, content can only be retrieved in <strong>one language<\/strong> at a time.<\/p>\n\n\n\n<p><meta charset=\"utf-8\"><\/meta><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTTP Header Accept-Language Desired languages for product content can only be set via the HTTP header Accept-Language, in the header of the request of an HTTP client (e.g. browser or &#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[184],"kbtag":[],"class_list":["post-2284","kb","type-kb","status-publish","hentry","kbtopic-product-content"],"_links":{"self":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/2284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/comments?post=2284"}],"version-history":[{"count":7,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/2284\/revisions"}],"predecessor-version":[{"id":20177,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/2284\/revisions\/20177"}],"wp:attachment":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/media?parent=2284"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtopic?post=2284"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtag?post=2284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}