Skip to main content

SDK Reference - setLang

React Native
Flutter
iOS
Android
.NET

Set the lang that will be used to load the localized product titles and descriptions from IAPHUB.
If this parameter is not specified, IAPHUB will retrieve the localized title/description directly from Apple or Google.

Example

var isLangUpdated = await Iaphub.setLang("en");
React Native
Flutter
iOS
Android
.NET

Parameters

StringISO language code of the user (e.g., en, fr, pt-BR)

Response

BooleanIndicates whether the language has been updated. Returns false if the provided language code is invalid.