Re: [htmltmpl] HTML::Template and Locale::Maketext
Brought to you by:
samtregar
From: Mathew R. <mat...@re...> - 2005-05-27 00:15:45
|
Translation issues aside, one of the best parts of storing translations = in a database is that you can quite easily build a web interface to the = database table. You write a script which greps your = source-code/templates so that it inserts the new strings, and deletes = any unused ones. This works really well for web pages as you simply set the encoding to = UTF8, provide a combobox of selectable languages / regions, provide a = textarea for the string input and a submit button. As a programmer I = never need to speak to the translators as they simply use the web = interface. The only real issue that the programmer has to do is to set a few extra = template variables: TMPL_VAR document_charset TMPL_VAR document_direction TMPL_VAR document_language TMPL_VAR document_direction_default TMPL_VAR document_direction_inverse The first three should be used in your document headers and occasionaly = in table headers. The other two are used for formatting within tables, = so that your text/image alignment comes out correct for the language. hope this helps Mathew |