3
Hm well, the problem and the request is much deeper.
Assuming that the website is in serbian latin. I need to have option/button that says 'read this in cyrilic'. The both encodings are utf8, but the function should convert all content to cyrilic on the fly (or maybe even cache it).
In serbia we use cyrilic as official, and latin as equal to cyrilic, but people should have a choice. I prefer cyrilic, but we have a lot visits from the region of Balkans, and we speak the same language (99%) with different names, and other nations use and undersand only in latin.
I could do letter to letter convert, eg. Ч > Č, but I need a smarty plugin that will do transliteration or some other script that could be integrated. Check out wp plugin for example.
To be more specific: the content is the same, only letters would change on the fly (or maybe cookie to remember your choice).
Any idea?