|
Hi,
Let me explain the problem. I'm developing a dynamic site (with PHP/Mysql) that should get a lot of visitors in the nearby future, and will need a lot of translations.
Now I'm wondering what the most server-friendly way would be to store and show the translations. My idea was, storing all the translations in a table in the database. Then if a user tries to access a page, you see if the translations of the text that appears on that page have been server side cached already. If not, search it from the database, and cache it.
I don't think language template files would be possible in my case. Several hundreds of new, different pages are going to be generated each week, using crontab. These pages will all use a same range of sentences.
What do you think?
|