AngelDoReMi / closure-templates

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

merging of XLF and SOY not working #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make an EN and DE XLF
2. Run.bat will generate and you will see the EN JavaScript file make, but not 
the German file
3.

What is the expected output? What do you see instead?
You should get an EN and De JavaScript file.

What version of the product are you using? On what operating system?
20100426
Windows
Using Javascript not Java source files.

Please provide any additional information below.
But i know if works on English, so it should work on the DE.

ATTACHED IS A ZIP WHICH HAS ALL THE FILES TO MAKE IT A SIMPLE TEST CASE.
Put the jar files in the appropriate place.
Just run the .bat and you will see it happen.

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

Attachments:

GoogleCodeExporter commented 8 years ago
its not a bug, i just missed something in my learning about the XLF format

in the translated messages you need:
<file original="SoyMsgBundle" datatype="x-soy-msg-bundle" xml:space="preserve" 
source-language="en" target-language="de">

target-language="de" MUST be at the end !!!!

Original comment by ged...@gmail.com on 18 Jun 2010 at 12:11

GoogleCodeExporter commented 8 years ago

Original comment by kai.hu...@gmail.com on 25 Oct 2010 at 10:27