getContextForLocale

fun getContextForLocale(locale: Locale, context: Context): Context

Provides localized context for getting the localized instruction text via Step.getNavigationInstructions(context)

Parameters

locale

The desired locale for getting the localized instruction text

context

The context to be localized