-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johan Kuuse schrieb: > Of course, this discussion about <TMPL_...> tags for the web designer isn't > only an issue for multilingüal web pages, but it is where it comes to an > extreme, as there is no common text at all in the HTML document, only > template tags all over.
The HTML::Parser based solution just avoids this mess: * You have simple XHTML in your template * Use <tmpl_var> only where necessary for program flow * Let Locale::Maketext or Locale::MakePhrase handle the translations in a filter process * A patched HTML::Template then has to cache the translated templates And for translation you can either * use a natural language as basis and have an AUTO entry in Locale::Maketext's dictionary for this language * or create artificial strings which get translated into *every* language (has advantages if you have many and very different languages) The web designer then only has to take care that the maximum space a translated string may require will be accommodated, but other than that can use the normal tools without having to take care of custom tags in the html code Kind regards Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCli+RxxUzQSse11ARAkPgAJ4pn0M4h0P7kvEm2LnxghQVFvTYewCfWhvn WgGYWAorQDAhMQCmojFXJ0k= =AK78 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users