in reply to A multilingual solution for PERL CGI web applications

Store your language specific strings in a database and use templates with place holders for the page content. Before rendering the page just do a mass replacement of the place holders with the proper strings. Then you can provide a tool for translators to make changes to the strings in the database without mucking around in your .pm files.
  • Comment on Re: A multilingual solution for PERL CGI web applications

Replies are listed 'Best First'.
Re^2: A multilingual solution for PERL CGI web applications
by Zzenmonk (Sexton) on May 03, 2013 at 15:56 UTC

    This is definitely also a solution. However it requires a database which needs maintenance. In my case a database is not an appropriate storage solution because the system has to cope with text elements. The best way to find text elements is to store them as files and index the files with web search engine. So the implementation of the whole system is easier this way. In addition I noticed this solution is damned fast. This is due to the fact I replace all texts in one shot.

    K

    The best medicine against depression is a cold beer!