News

Icecat Live API Supports Multilingual Calls for Digital Assets

The Icecat Live API supports now multilingual calls to retrieve digital assets related to multiple locales. This client requirement followed from the transfer of former Autheos clients to our (free) Icecat Live service. Icecat Live enables merchants to insert real-time product content from hundreds of major brands or manufacturers in any app. Just with a few lines of JavaScript in an HTML template. This can be any digital asset. In the case of former Autheos users, we focused on videos.

Below, an explanation of how to implement multilingual calls with Icecat Live.

LIVE API multilingual calls format

In case a user wants to retrieve a video for a product in one preferred language, but this is not available in this language, a user might still retrieve it with a backup language. To implement this logic a user just needs to pass the list of language codes as an array. For example, [‘en’, ‘fr’] where UK English (en) is the preferred language and France French (fr) is the backup language.

It is possible to add up to 5 languages into the array. Please, find below the full example of how Icecat Live API supports multilingual calls:

<html>
    <head></head>
<body>
 
<div id="Container"></div>
 
<script>
    window.addEventListener('liveload', function() {
        IcecatLive.getDatasheet('#Container', {
            Brand: 'Philips',
            PartCode: 'DS8900/10',
            UserName: 'openicecat-live'
        }, ['en', 'fr'])              
    });
</script>
 
<script src="http://live.icecat.biz/js/live-current.js" async></script>
</body>
</html>
Anton Bondarenko

Recent Posts

China’s Next AI Bottleneck May Be Data, Not Chips

For years, the discussion around China’s AI ambitions has focused heavily on computing power. US…

7 hours ago

Icecat Release Notes 256: Smarter Image Management, Better Organization Control & More Reliable Data Flows

Release 256 continues Icecat’s platform evolution with progress on the next-generation Gallery, new user-organization membership…

1 day ago

Cloudflare: Humans Could Become a “Rounding Error” as AI Agent Traffic Explodes

The internet has traditionally been designed around one basic assumption: a person is eventually sitting…

1 day ago

Former US Cyber Director Says AI Agents Need Rules Before More Autonomy

The biggest risk from advanced AI may not be whether machines become conscious. It may…

2 days ago

Ocado Signs New European Deal for Large Robotic Fulfilment Centre

Ocado has secured a new deal to build a large automated warehouse for an unnamed,…

3 days ago

Meta Launches Seller App With AI Tools for Facebook Marketplace

Meta is giving frequent Facebook Marketplace sellers a dedicated place to run their selling activity.…

4 days ago