in reply to Re^4: Template::Toolkit, look-and-feel and internationalization
in thread Template::Toolkit, look-and-feel and internationalization
<EDIT>
Yes, that's valid
</EDIT>
Changing that to:
[% "Text to be translated" | i18n %]
and
[% "You gained %d experience points" | i18n(10) %]
respectively, would eliminate the need for the [%END%] tag. I also find this more readable.
Yes, that's valid
</EDIT>
Changing that to:
[% "Text to be translated" | i18n %]
and
[% "You gained %d experience points" | i18n(10) %]
respectively, would eliminate the need for the [%END%] tag. I also find this more readable.
|
---|
In Section
Seekers of Perl Wisdom