appbaseio/reactivesearch

Support translations for component's static-text

オープン

#173 opened on 2018/01/03

 (2 件のコメント) (3 件のリアクション) (0 人の担当者)JavaScript (487 件のフォーク)batch import
enhancementhacktoberfest

Repository metrics

Stars
 (4,835 個のスター)
PR merge metrics
 (平均マージ 3d 7h) (30d で 1 merged PR)

説明

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.

コントリビューターガイド