appbaseio/reactivesearch
Support translations for component's static-text
Ouverte
#173 ouverte le 3 janv. 2018
enhancementhacktoberfest
Métriques du dépôt
- Stars
- (4 835 étoiles)
- Métriques de merge PR
- (Merge moyen 3j 7h) (1 PR mergée en 30 j)
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.