[Server-devel] Schoolserver home page localization
Tim Moody
tim at timmoody.com
Wed Oct 23 11:05:05 EDT 2013
Hi Chris,
I am working on a home page for the xsce schoolserver, which I would like to
localize. The method I have used is to turn on multiviews and have
index.en.php, index.es.php, etc. which each have any arbitrary text in the
appropriate language and also make calls, currently to php functions,
passing localization strings for link phrase and description for each of the
services on the server in order to generate links. The page defaults to
English if no language specific page is found. Now my questions.
1) Does putting all localization in each html (or php) file seem reasonable
or should I create a file for each language that contains local strings and
load it at runtime? I do want to support free form text, but the services
are more static.
2) How do we plug into the translation infrastructure so that names and
descriptions of services, along with welcome and other texts can be
translated? This will be an evolutionary process as more services are
added.
Thanks,
Tim
More information about the Server-devel
mailing list