Home > Wordpress > WPtouch in french

WPtouch in french

If, like me, you are using WPtouch to manage the display of your web site in “iPhone mode”… You can use the french translation I did.

You have just to add this code in the beginning of your wptouch/functions.php file :

/** l10n */
 function theme_init(){
 load_theme_textdomain('wptouch', get_template_directory() . '/languages');
 }
 add_action ('init', 'theme_init');

And then unzip the translation file into your wptouch/themes/default folder.

You should have the following treeview :

./wptouch/themes/default
./wptouch/themes/default/languages
./wptouch/themes/default/languages/fr_FR.mo
./wptouch/themes/default/languages/fr_FR.po

That’s all folks

You can use this “addon” for free, don’t hesitate to upgrade it or send me a comment !

Categories: Wordpress Tags: ,
  1. No comments yet.
  1. No trackbacks yet.