lib/plugins/statistics
The following languages are already translated :
* English
* French
=====Add language=====
- Create a folder named according to the [[http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes|ISO 639-1 language code]]. Example for spanish :lib/plugins/statistics/lang/es
- Copy inside and translate a //lang.php// file taken from another language.
- [[contact@nliautaud.fr|Send me]] the result!
=====Modifications detail=====
The following lines of //admin.php// have been modified :
63 echo ''.$this->getLang('menu').'
';
106 echo $this->getLang('toc');
111 echo ''.$this->getLang('dashboard').'';
114 echo ''.$this->getLang('popular').'';
117 echo ''.$this->getLang('in_links').'';
120 echo ''.$this->getLang('new_in_links').'';
123 echo ''.$this->getLang('out_links').'';
126 echo ''.$this->getLang('search').'';
129 echo ''.$this->getLang('search_words').'';
132 echo ''.$this->getLang('search_engines').'';
135 echo ''.$this->getLang('browsers').'';
138 echo ''.$this->getLang('os').'';
141 echo ''.$this->getLang('countries').'';
144 echo ''.$this->getLang('resolutions').'';
173 echo '';
174 echo $this->getLang('today');
179 echo $this->getLang('yesterday');
184 echo $this->getLang('last_7');
189 echo $this->getLang('last_30');
208 echo ''.$this->getLang('dashboard_intro').'
';
214 echo ''.$result['pageviews'].' '.$this->getLang('page_views').' ';
215 echo ''.$result['sessions'].' '.$this->getLang('sessions').' ';
216 echo ''.$result['visitors'].' '.$this->getLang('visitors').' ';
217 echo ''.$result['users'].' '.$this->getLang('users').' ';
223 echo ''.$this->getLang('popular_most').'
';
230 echo ''.$this->getLang('new_in_links').'
';
237 echo ''.$this->getLang('search_top').'
';
246 echo ''.$this->getLang('countries').'
';
254 echo ''.$this->getLang('popular').'
';
261 echo ''.$this->getLang('browsers').'
';
269 echo ''.$this->getLang('os').'
';
276 echo ''.$this->getLang('in_links').'
';
280 printf(''.$this->getLang('in_links_intro').'
',$all,$result['direct'],(100*$result['direct']/$all),
290 echo ''.$this->getLang('new_in_links').'
';
291 echo ''.$this->getLang('new_in_links_intro').'
';
298 echo ''.$this->getLang('out_links').'
';
305 echo ''.$this->getLang('search').'
';
312 echo ''.$this->getLang('search_words').'
';
319 echo ''.$this->getLang('search_engines').'
';
326 echo ''.$this->getLang('resolutions').'
';
329 echo ''.$this->getLang('resolutions_intro').'
';