PermissionLocalization

@InterfacedService(acceptMultiple = false)
interface PermissionLocalization(source)

Utility service to translate Permission names, a DefaultPermissionLocalization instance is available by default, but can be overridden if necessary, using a service factory.

Inheritors

Functions

Link copied to clipboard
abstract fun localize(permission: Permission, locale: Locale): String

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