Re: [SMARTY] smarty and GNU gettext
"Vicente Werner" <[email protected]> Tue, 30 May 2006 15:53:48 +0200
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
On 5/30/06, Marcus Bointon <[email protected]> wrote: > > On 30 May 2006, at 14:22, Vicente Werner wrote: > > Personally I think gettext is a clunky way of working anyway! I'm > using a DB-based one at present - it's nice to have a separate web > interface for translators to use independent of web apps. There're other issues I considered, as the need to reboot apache when you change the .po files so they're loaded and the hit just for initilizing the system. I've done it as both block and function - I find functions are tidier > for small things like field titles. I've yet to come up with a nice > way of handling embedded variables like gettext does, especially with > numbered params. Any ideas on that? What I did was a modification of the block function so it could get a list of vars that were substitued on the string. Marcus > -- > Marcus Bointon > Synchromedia Limited: Putting you in the picture > [email protected] | http://www.synchromedia.co.uk > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Vicente Werner y Sánchez