in reply to mod_perl internationalization

You haven't commented too much on the specifics of how your application interacts with the user or generates HTML pages - Depending upon how much of this has been built within your application, a lot of work could be shifted into template files. This allows for the generation of locale-specific output with a simple change of the output template employed by your script.

Furthermore, this allows for a clear distinction between code and presentation, such that there is no need to rewrite the code base for each language which your application supports.

If you are interested in pursuing this development path, I would recommend that you explore the feature-set of the Template Toolkit before re-inventing any wheels.

 

Replies are listed 'Best First'.
Re: Re: mod_perl internationalization
by Anonymous Monk on Sep 16, 2002 at 12:45 UTC
    Thanks Rob! I had intended using some sort of templating system - I'd come across html::template; mason; eperl etc... and a couple of years ago I used a simple templating system based on perl cookbook recipe 20.9. But various web searches hadn't given much in the line of hints as to i18n apart from the obvious "use templates" :-) the app is only in the design stage at the moment - but design needs to finish "real soon now" for budgeting purposes... and something like a templating system can change how the design works... Thanks, Sean