Localization

The language and region that determine how localized content is presented.

Available values

ValueDescriptionSample: Dates
enUSContent will be shown in English, United States dialect and format.Dec 11, 2024
esMXContent will be shown in Spanish, Mexico dialect and format.11 dic 2024

Usage

import com.paymitto.android.sdk.Localization

val sdkLocale = Localization.esMX

ℹ️

Fragment mode

When using the Fragment API, display strings follow the host Activity's locale. The localization parameter still controls the API request language (Accept-Language header) and date formatting, but it does not override the strings shown in the UI.



Did this page help you?