setLocale

fun setLocale(nsLocale: NSLocale): DefaultLocaleImpl(source)

Sets the current locale for the Tolgee instance, updating it in the reactive locale flow.

Parameters

nsLocale

The locale to be set for translations and related operations.