Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: HTML::Template and translations

by amir_e_a (Hermit)
on Jan 15, 2010 at 13:27 UTC ( [id://817639]=note: print w/replies, xml ) Need Help??


in reply to HTML::Template and translations

I second the Locale::Maketext suggestion. I can also add that you really should:

  1. Separate your strings and your source files. Keep the strings in a separate file.
  2. Use Unicode everywhere. Save your source files, your template files and your strings files as Unicode. Make it UTF-8, unless you have a very good reason to use any other representation. see perlunicode.
  3. Even though it's a good idea to save your source files as UTF-8, it's even more important to keep your strings separately - and in UTF-8. I'm repeating myself, but it WILL save you a lot of trouble.

(Edit: spelling.)

Replies are listed 'Best First'.
Re^2: HTML::Template and translations
by Anonymous Monk on Jan 15, 2010 at 13:41 UTC
      Thanks a lot. A very interesting read. I never bothered to look beyond Maketext.

Log In?
Username:
Password:

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

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

    No recent polls found