Dashamir Hoxha - 2003-07-30

The GNU system has i18n support (gettext) and PHP has an API for
it, however something does not work very well for web
applications, so I think that the framework cannot use it. We can
build, however, something similar to it.

The messages that have to be translated by the framework can be
denoted like this: {{i)Hello World!}}  Then a tool similar to
xgettext can be used to extract all the messages from the
templates. Then we can either continue in the same way that
gettext does, or we can create a message file for each webbox.

In the second case we will have to create the files
'boxid_fr.msg', 'boxid_de.msg' etc. for each webbox and for each
language. They can either be stored in the same folder as the
webbox, or in the subfolder 'langs' in the same folder, or in the
folder 'messages' where are stored all the message files of the
application, etc.