localize

abstract fun localize(permission: Permission, locale: Locale): String(source)

Returns the given permission's name with the requested locale.

If no translation is available for the requested locale, it is permitted to return fallbacks.