Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Template::Toolkit, look-and-feel and internationalization

by deliria (Hermit)
on Jun 14, 2005 at 13:21 UTC ( #466520=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^5: Template::Toolkit, look-and-feel and internationalization
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://466520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-12-19 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (78 votes), past polls