Hi Pacal,
> Am 06.01.2015 um 16:10 schrieb [email protected]:
>
> I was however wondering if it is possible to have the {{}} expressions
> evaluated after the translations have been loaded.
It could be done with a custom filter bound to translationLoaded. For example
instead of having ‘{{_('Hello')}}’ you would have {{'Hello‘ |
_(translationLoaded)}}. As long as translationLoaded is false, you would just
return the argument unchanged from the filter, and once it’s updated to be
true, you run the argument through the translation mechanism.
Cheers,
Niels
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/ED15CA40-CBCA-4A12-BC59-0FEA72DA11EC%40halbordnung.de.
For more options, visit https://groups.google.com/d/optout.