Skip to content

0.2.0 - T("Hola, mundo!")

Latest
Compare
Choose a tag to compare
@mitchchn mitchchn released this 06 Sep 16:14
· 102 commits to master since this release
c492e98

It's the first public release for T-i18n! Go forth and localize.

What's new

  • Simple values are now replaced in string messages without requiring pre-compilation, e.g. T("Hello {name}", {name: "Wendy"})
  • React component placeholders can be nested, e.g. <strong><em>Hello</em></strong>

Special thanks to...

  • @robyoder for helping to design the React replacement syntax and API
  • @meek for troubleshooting the recursive XML parser