Posted by Vicente Werner on 10/04/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.
Navigation:
[Reply to this message]
|