core/i18n/name-transform.pipe.ts
Service transforms the name for translation based on mapping provided by
PropertyValueTransformService.
Usage:
value | nameTransform | translate
Example:
{{ 'admins' | nameTransform | translate }}
transforms original string to: 'Admin Userrole
' and then translates it like 'Admin User'
Name | nameTransform |
Standalone | true |
transform | ||||||
transform(value: string)
|
||||||
Parameters :
Returns :
string
|