How to xlf-translate soy template by plovr?

221 Views Asked by At
{msg desc="Says hello and tells user to click a link."}
  Hello {$userName}! Please click <a href="{$url}">here</a>.
{/msg}

what set config file or request params in plovr?

1

There are 1 best solutions below

0
On BEST ANSWER

You can use this fork of plovr which has support for soy translations via XLF (doesn't come with default plovr). You'll need Java 7 to build/run it.

https://github.com/rgpower/plovr/tree/soy-translation

See the most recent commit for plovr cfg syntax related to XLF translations.