Reply to Re: [SMARTY] I18N/L10N: Best practice

Your name:

Reply:


Posted by Vicente Werner on 10/15/45 11:23

Actually, I'm using a DB based translation service.

The system works in a two pass way, the first pass a block function
stores the list of strings to translate and substitutes them by a a
string easily matched through a regexp. On the second pass the
translation is made with the help of an output filter.

Strings with variable parts are translated directly in the first pass.

The sql is made to minimize impact on the db.

Test have shown that it takes roughly 0.019 secs to translate a page
with 2500 translatable terms

--
Vicente Werner y Sánchez
Lead Developer at Dinahosting S.L.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация