Conversation
supportHi, after I install the plugin, I can’t find a way to change language to english. Can you help? Thanks https://wordpress.org/plugins/kama-clic-counter/
The plugin has a language file but it is not translating the text. A quick fix is to open kama_click_counter.php then at line 55 find this. if( ($locale = get_locale()) && ($locale != 'en_US') ) $res = load_textdomain('kcc', dirname(__FILE__) . '/lang/'. $locale . '.mo' ); Delete or hide those lines // and add this line. $res = load_textdomain('kcc', dirname(__FILE__) . '/lang/en_US.mo' ); English will then be displayed.
Yes, this works!
Update: There is now also a translation for German in order to avoid this hack for German users – see my stand-alone post for this.
The plugin has a language file but it is not translating the text. A quick fix is to open kama_click_counter.php then at line 55 find this. if( ($locale = get_locale()) && ($locale != 'en_US') ) $res = load_textdomain('kcc', dirname(__FILE__) . '/lang/'. $locale . '.mo' ); Delete or hide those lines // and add this line. $res = load_textdomain('kcc', dirname(__FILE__) . '/lang/en_US.mo' ); English will then be displayed.
Yes, this works!
Update: There is now also a translation for German in order to avoid this hack for German users – see my stand-alone post for this.