New answers tagged multi-language
You can use the qtrans_getLanguage() function. $currentLang = qtrans_getLanguage(); return the current language. See this link for an example. See the offical docs for developer here
'WPLANG' in wp-config.php will apply as default language for both theme and admin. Admin in English will check if it is in admin first. Then use add_filter() to hook on the locale call and changed the returned $locale to code who ask for it. It use similar concept of interrupt in DOS. Based on the concept above, if it is not in admin, then $locale ...
A translatable WordPress theme is a good way to interact with the audience with the language you desire it to present itself. There are many resources available over the Internet, and most of them worked actually. I don't know why you find them not working for you. Anyways, I found the following tutorial nicely explained the matter so that you can proceed ...
If your site has the same content in both languages, you may try the plugin I have written called Transposh, which allows you to handle this with ease. Support for RTL languages is embedded, where the theme has support for this. On the default themes it works quite well. If you have different content for different languages, there are other plugins to try, ...
Top 50 recent answers are included