Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Internationalization and Template::Toolkit

by matthewb (Curate)
on Dec 01, 2004 at 22:22 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://411597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found