Using gettext() on dynamic text from a database?
Posted: Fri Feb 17, 2006 4:41 am
I have a web application which requires translation and will use gettext() to streamline and standardise this process.
I was wondering what I should be doing with dynamic pages which have differing data generated from a database.
For overall translation elegance and simplification I would prefer to apply the GetText format across the whole site, rather than have a two tier system where there are separate language MySql db tables for the dynamic pages.
Has anyone come across this problem and come up with a workable solution before? I have read that it can be done but not any wiser as to how.
I was wondering what I should be doing with dynamic pages which have differing data generated from a database.
For overall translation elegance and simplification I would prefer to apply the GetText format across the whole site, rather than have a two tier system where there are separate language MySql db tables for the dynamic pages.
Has anyone come across this problem and come up with a workable solution before? I have read that it can be done but not any wiser as to how.