Dyte's UI Kit allows you to customize all the text within the video call interface. You can personalize the text to align with your specific locale needs.
Customizing the locale involves the following steps:
- Integrate Dyte’s Flutter SDK into your application
- Download the default language reference file
- Change the locale
- Add the modified file to your app
Step 1: Integrate Dyte’s Flutter SDK into your application
To integrate Dyte's Flutter SDK into your application, follow the steps mentioned here.
Step 2: Download the default language reference
You can find the default language reference available at this location. The file contains all the text that is displayed on the video call interface.
Step 3: Change the locale
Customize the text in the downloaded file to meet your requirements. You don't need to translate the entire file into your language; you can simply edit the specific text that you want to change.
For example, suppose you want to change the following text from English to Spanish:
Original English text:
"waitingForTheHostToLetYouIn": "Wait for the host to let you in!",
Translated Spanish text:
"waitingForTheHostToLetYouIn": "¡Espera a que el anfitrión te permita entrar!",
Step 4: Add the modified file to your app
Once you have modified the file, you can add it to your app. To do this, follow these steps:
- Create an asset folder in your app's root directory.
- Add the modified file to this folder.
- Add the following code to your
- In the
DyteUIKitBuilder.buildmethod, pass the file path to the
final uiKit = DyteUIKitBuilder.build(uiKitInfo: uikitInfo, arbPath: 'path/to/arb/file');