php gettext, smarty

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

php gettext, smarty

Post by jmut »

Anyone knowing of good implementation of gettext with smarty.

http://smarty.incutio.com/?page=SmartyGettext

There is one in smarty itself but it does not loose the links in the smarty htmls.. I mean that when it scans the template files it generates a text file.
Then from this text file gettext tool is used to generate the actual .po file and the reference to the line number and file of the template is lost in this way.

Any ideas, clues.
I plan to write one myself...but first looking if something good exists already.
Post Reply