Gettext - A couple of questions
Posted: Tue Jan 06, 2004 8:22 am
Hello All,
looking through various bits and bobs I have come across gettext as a method of translating information. It sounds good with files being created automatically when you need a translation. Pass this file to a translator and viola your site has multiple languages...
Couple of queries though...
1) What happens if a word may be translated into more than one word, each being required in different places ? (e.g Rubrik (German) can be either Category or Column (English)).
2) Can you perform checks such as ($string=="word") ok ?
Not asking anyone to spend a long time answering but the html manual for gettext seems to be down and if these aren't catered for the gettext solution will not work for me.
Thanks for any insights.
Mark
looking through various bits and bobs I have come across gettext as a method of translating information. It sounds good with files being created automatically when you need a translation. Pass this file to a translator and viola your site has multiple languages...
Couple of queries though...
1) What happens if a word may be translated into more than one word, each being required in different places ? (e.g Rubrik (German) can be either Category or Column (English)).
2) Can you perform checks such as ($string=="word") ok ?
Not asking anyone to spend a long time answering but the html manual for gettext seems to be down and if these aren't catered for the gettext solution will not work for me.
Thanks for any insights.
Mark