Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Internationalization and Template::Toolkit

by matthewb (Curate)
on Dec 01, 2004 at 22:22 UTC ( #411597=note: print w/replies, xml ) Need Help??


in reply to Internationalization and Template::Toolkit

I've done this.

When putting together a solution, I found this presentation useful.

I used Class::DBI to model `resources' within my web application wherein the actual translated text (where required) was located in a linked table/sub-class.

Use content-negotiation, as mentioned in the article you reference, backed up with an option to override. You'll want a look at HTTP::Negotiate now if you haven't seen it already. Maybe also one of the session modules for retaining user preferences.

You'd also be well advised to get your web-designer to consider how their pixel-perfect navigation is going to look in other languages ;)

MB
  • Comment on Re: Internationalization and Template::Toolkit

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2020-09-22 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (129 votes). Check out past polls.

    Notices?