Re: localisation in web applications

From: Date: Tue, 19 Dec 2000 00:24:27 +0000
Subject: Re: localisation in web applications
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30970@lists.php.net to get a copy of this message
I have thought about doing it a couple of ways with binarycloud (though I have not had the opportunity to do so): for single language sites, we call a module, which automatically includes a markup template (html for a form, or whatever) - we have the ability to pass in configuration arrays to modules, so you could just point it at a different template... that can be a bit of a pain, because you have to make structural changes to all of the html, but html changes can be made _very_ quickly. or, better, you _could_ use xml files that are loaded up by the module, and more abstracted html templates, so the module loads up the xml, which contains all the language strings, and sets a bunch of variables with text values, and those values get passed in to the markup print functions in the html template, which echoes them in the right places. that would work pretty well, and it would be fairly easy to maintain. if you think about doing something seriously, please contact me, I'd _love_ to have a coherent system integrated into binarycloud. _a -- Alex Black, Head Monkey enigma@turingstudio.com The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: kaatz@e-commerceit.de (Juergen Kaatz) > Newsgroups: php.general > Date: 18 Dec 2000 10:51:50 -0800 > Subject: [PHP] localisation in web applications > > Hello, > > I'm looking for an existing tool, idea ... to localize a webapplication for > different languages. > > At the moment I have a directory structure, that calls different language > dependent inc-files from a "en"-dir, a "de"-dir and so on. The big > disadvantage is, that some of the business logic is inbetween the language > dependent files. If I have some changes or bug-fixes in the existing > applications I have to change them in all language dependent subdirs. > > (Is there a way, to do this with xml?) > > Many thanks for all hints > Juergen > ----------------------------- > Juergen Kaatz > WWE e-commerce IT GmbH > Eiffestrasse 462 > 20537 Hamburg > URL: http://www.e-commerceit.de/ > URL: http://www.iets.de/ (Internet Export Trading System) > kaatz@e-commerceit.de > Tel: +49-40-2530659-32 > Tel. +49-40-2530659-0 (Zentrale) > E-Mail : kaatz@e-commerceit.de > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#30970) next »