removeAllWordingTranslationsWithSpecialSuffix()
Home > @gooddata/sdk-ui > removeAllWordingTranslationsWithSpecialSuffix
removeAllWordingTranslationsWithSpecialSuffix() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The function to remove all translation keys that contain special suffixes "._measure" or "._metric"
Signature:
removeAllWordingTranslationsWithSpecialSuffix: (translations: Record<string, string>) => Record<string, string>
Parameters
Parameter | Type | Description |
---|---|---|
translations | Record<string, string> |
Returns:
Record<string, string>