setLocale

fun setLocale(locale: String): Int

Change the current language on the device

Return

Const.EXECUTE_COMPLETE - function completed

Const.VALUE_IS_EMPTY - The specified value is empty. Function failed

Const.METHOD_NOT_FOUND - Method not found. Function failed

Parameters

locale

language code