AngelDoReMi / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

support --outputPathFormat for SoyMsgExtractor.jar #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is an enhancement, not a bug.

Example below -
at the moment this works:
java -jar ../closure-templates-msg-extractor-latest/SoyMsgExtractor.jar  
--outputFile helloTemplate_extracted_msgs.xlf  helloTemplate.soy

But it would be better if this worked:
java -jar ../closure-templates-msg-extractor-latest/SoyMsgExtractor.jar  
--outputPathFormat {INPUT_FILE_NAME_NO_EXT}_extracted_msgs.xlf  
helloTemplate.soy

* The SoyToJsSrcCompiler.jar supports this currently, so you just need to copy 
this pattern.

2nd thing:
It would be good if the generation of the Translated messages XLF file could 
also be generated every time (optional)
And it would include the correct targets.

Then a translation memory tool can be run on top of the hole thing very easily

Original issue reported on code.google.com by ged...@gmail.com on 18 Jun 2010 at 12:32

GoogleCodeExporter commented 8 years ago

Original comment by kai.hu...@gmail.com on 20 Sep 2011 at 12:08