Skip to content

Instantly share code, notes, and snippets.

@pumatertion
Created February 8, 2013 10:54
Show Gist options
  • Save pumatertion/4738121 to your computer and use it in GitHub Desktop.
Save pumatertion/4738121 to your computer and use it in GitHub Desktop.
<trans-unit id="error.1238108069">
<source>This text may not exceed {0} characters</source>
<target>Darf maximal {0} Zeichen beinhalten</target>
</trans-unit>
error.code is 1238108069:
<f:translate id="error.{error.code}" arguments="{error.arguments}">{error}</f:translate>
but it allways prints not the xliff stuff but the __toString of error :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment