|
Posted by Tony Marston on 12/17/44 11:53
I personally put the text for each language into a separate file, then load
that file into memory at the start of each script. Each individual string is
therefore taken from memory. Because there is only one disk I/O for the
whole file, not each piece of text, it is very fast.
This is documented at
http://www.tonymarston.net/php-mysql/internationalisation.html
HTH
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
<romayankin@gmail.com> wrote in message
news:1152572356.909186.79170@h48g2000cwc.googlegroups.com...
>I plan to write site on a few language. For this reason I'm trying to
> find the most convenient way to output strings depending on their
> unique ID. As far as I plan to have pretty much strings translated, I'm
> concerned about the performance issues any of the approaches may have
> on the server. Perhaps someone has already solved that of kind of
> problems and can share his/her experience in this matter.
>
Navigation:
[Reply to this message]
|