![]() |
Multilingual sites
I read Wildhoney's tutorial on Multilingual sites and completely agree that XML is much better over PHP constants or something like that.
I have a question though, about variables in phrases. HTML Code:
<!-- english -->HTML Code:
<!-- english -->What kind of system would you use to handle this? |
The same one, if I understand what you want to do. A simple modification of Wildhoney's original class would include another almost identical function:
PHP Code:
-m |
I thought it would be complicated actually.
I found vsrpintf which seems to be exactly what I want. This is what I came up with, PHP Code:
Thanks for your help. |
Hey, that's way easier than I was going to make it. I didn't know about vsprintf.
-m |
| All times are GMT. The time now is 06:22 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0