appbaseio/reactivesearch
Support translations for component's static-text
Aberta
#173 aberto em 3 de jan. de 2018
enhancementhacktoberfest
Métricas do repositório
- Stars
- (4.835 estrelas)
- Métricas de merge de PR
- (Mesclagem média 3d 7h) (1 fundiu PR em 30d)
Description
Issue Type:
Enhancement
Description:
Static text displayed by the components should have i18n support.
Example spec can be:
<Component
translation:{{
"textRef": "translated value",
...
}}
/>
The spec format is similar to how we support innerClass prop. To improve consistency, we can perhaps use the same key values for the possible translatable text values as we use for the innerClass prop.