Home

For now, this is a blog in English, as straight text, newest on top. Later, I will change this to a translated project


2011/11/20

If this word is in the same language as dit woord, you are looking at an automated translation


2010/09/25

Maintaining pages in two language can be done in several ways. Over time I learnt that having two different pages, each residing in their own different documents served by the web server based on client browser language preferences, means having two almost similar still but far apart pages.

Still using the server to flesh out which language preference the visitor has, the new kid on the block for me was gettext() which can handle serving translated text automatically. Gettext, as you might have gotten already, gets text from the html source and looks in a dictionary file to see if a translation for that text has been made available. If so, the translated text is put in place in the html source and served.

Soon, the pages on my web site will be truly parallel in all languages available, by the help of gettext() and PoEdit.


Last change: 2011/11/24 12:47:01 6295 unique visitors