appbaseio/reactivesearch

Support translations for component's static-text

開放

#173 建立於 2018年1月3日

 (2 則留言) (3 個反應) (0 位負責人)JavaScript (487 個分叉)batch import
enhancementhacktoberfest

倉庫指標

星標
 (4,835 顆星)
PR 合併指標
 (平均合併 3天 7小時) (30 天內合併 1 個 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.

貢獻者指南