Gettext - A couple of questions

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
markbeadle
Forum Commoner
Posts: 29
Joined: Tue Dec 02, 2003 2:50 am
Location: Aachen, Germany

Gettext - A couple of questions

Post by markbeadle »

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
Post Reply