Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: HTML::Template and translations

by amir_e_a (Hermit)
on Jan 15, 2010 at 13:27 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2023-03-24 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?