简体   繁体   中英

How to xlf-translate soy template by plovr?

{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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM