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.