parseTemplate

fun parseTemplate(bundleName: String, locale: Locale, template: String): String

Return

String of the interpolated template string

Parameters

bundleName

base name of the bundle e.g. strings

locale

the specific Locale, e.g. Locale.FRENCH. The language tag returned for French locale is fr

template

the input string with placeholder variables to be replaced with translated values