Re: [SMARTY] using different languages in my Templates

From: Date: Fri, 20 Dec 2002 21:22:36 +0000
Subject: Re: [SMARTY] using different languages in my Templates
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6922@lists.php.net to get a copy of this message
If I were to put in a vote for a way to do multiple languges, the Smarty lib would have to be all in UTF-8, and it would do it the way other libraries are doing it, like php_nuke, Post- Nuke, midgard, zope, E-Xoops, mambo, PHPCMS, ezContents, PHPWebSite, and others. The big question is where to put the language sensing and response. I'm not so sure whether it should be in the presentation layer (smarty), or or in the php/business logic area. I lean towards the business logic or both, since advertising, local content, etc is much easier to select in PHP than in the presentation layer. I also think that the time is coming to consider BOTH look up tables and links to online translation software for different parts of the website. I think that content definitely is a one to use live translation software with. Having had experience with both human and 'machine' tranlations, there is no comparison. But for a first cut, or a non critical application, machine translation can be used for rapidly changing, non sensitive content. Menu's, displya column headings, and other layout-and-displayed titles, on the other hand, should be human translated. 12/20/2002 9:32:19 AM, "akorthaus@web.de" <akorthaus@web.de> wrote: >Hi! > >>I think the common routine is to simply have a config file for >>each language? >> >How should this work? Or do you think of one translation-table per >language? The problem is to include the correct language in my >templates. Or what would be in your config-file? >The best way is this one I think: >http://smarty.incutio.com/?page=SmartyMultilanguageSupport > >regards >Andreas > > > >-- >Smarty General Mailing List (http://smarty.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.smarty.general (#6922) next »