I'm developing a theme especially for Bānglā blog posting, and it'd be under GNU license. I questioned about a Calendar Widget translation with some problems today, and got a comment saying:
I'm just wondering, is this not covered in the Bangla translation?
And after the s_ha_dum's answer I thought I can make a translation-ready theme. Then I can translate all the necessary Texts for my theme. I followed:
- Internationalizing And Localizing Your WordPress Theme
- by Konstantinos Kouratoras — WP.SmashingMagazine.com
- Translating Your Theme
- by Robert Treacy — WP.TutsPlus.com
And now I made a complete translation-ready theme and it's working when I change the
WPLANG to my language in
wp-config.php. But except this step the whole thing is automatic. So if this step can be automatic, it'd be nice for me.
I want to place a filter that can hook the WPLANG and overwrite with
when the theme is activated.
So that I can simply say: "Install the theme, and it'll do everything for you. You don't need to have access into your cPanel to make change into the
wp-config.php." I've read the WPSE thread Trigger language change in Wordpress, but if you now get me, I'm on a different track.
So, is that possible?