Localization and Strings

Customization in Web

In addition to localization support, you may want to change strings to display different words.

For example, to change a screen that shows the word "Retake" you can choose to show the word "Try again" instead. Here's how to do that.

JSON

{
  "common": {
    "retake": "Try again"  //previously the word "Retake" was here
  }
}

Translations Tool

You can use our translations tool to search for the strings or keys you would like to personalize and generate a sample translation file for you to personalize.

You can then include the language file during the Web SDK's create() method, like below:

JavaScript

import { en } from "./en.js";

const incode = await create({
  apiURL: apiURL,
  translations: en,
});

//Allows proper translation loading order
await incode.initialize();