Releases: amsul/react-translated
Releases · amsul/react-translated
v2.4.0
16 Feb 16:12
Compare
Sorry, something went wrong.
No results found
Added ability to escape token characters with a preceding \.
For example:
'this is *bold* and this \*is not\*'
v2.2.4
22 Nov 21:39
Compare
Sorry, something went wrong.
No results found
Added support for React Native 0.57+
v2.2.0
17 Jan 20:19
Compare
Sorry, something went wrong.
No results found
Replaced custom rendered text in favor of translated text as string :
< Translator >
{ ( { translate } ) => (
< input
placeholder = { translate ( {
text : 'Enter your age {firstName}' ,
data : { firstName : 'Sergey' } ,
} ) }
/>
) }
</ Translator >
v2.1.0
15 Jan 19:00
Compare
Sorry, something went wrong.
No results found
Added support for custom rendered text :
< Translate
text = 'Enter your age {firstName}'
data = { { firstName : 'Sergey' } }
render = { ( { translatedText } ) => (
< input placeholder = { translatedText } />
) }
/>
v2.0.0
10 Dec 04:15
Compare
Sorry, something went wrong.
No results found
This release comes with some nice behind the scenes functionality. The only notable API change is the removal of the need to tag templates:
'Hi, {firstName}!': {
- en: tag `Hi, ${'firstName'}!`,
+ en: 'Hi, {firstName}!',
// ...
},
v1.2.3
02 Dec 09:47
Compare
Sorry, something went wrong.
No results found
v1.1.0
01 Dec 21:59
Compare
Sorry, something went wrong.
No results found
v1.0.0
01 Dec 07:15
Compare
Sorry, something went wrong.
No results found
Remove the trailing comma