Localization
This doc helps out how to achieve localization for all the resources used by Android SDK
Localize Engagement SDK components in your app
As an integrator, you have the ability to localize the EngagementSDK experiences. All of the EngagementSDK localization files can be found in EngagementSDK.aar/res/values/values.xml.
Please refer to the screenshot below
To overwrite a translated string or to add support for a new language. add the desired EngagementSDK keys to your application's resouce strings file file. The keys and values in your application's resouce strings file will prioritize over the keys and values in the EngagementSDK resouce strings file.
For example, to replace chat input field placeholder text, override the following key and new value in your resource strings file.
<string name="livelike_chat_input_hint">说些什么…</string>
Also, You can refer to the guidelines and process mentioned in official android docs: https://developer.android.com/guide/topics/resources/localization
Updated about 1 year ago