[wp-hackers] wp_local_package and i18n mo from svn

Raphaël Droz raphael.droz at gmail.com
Tue Jun 29 10:52:42 UTC 2010

I don't really understand how useful is this variable.
I update my site from svn and pulled .mo files from automattic svn.
But I get the locale update advice anyway.
I think adding (or replacing) the test in wp-admin/update-core.php would 
do the trick :
( $wp_local_package != $update->locale && ! is_readable( WP_LANG_DIR . 
$update->locale . 'mo' ) )
Because AFAIK if WP_LANG_DIR, the mo file will be loaded so the 
translation is in use.


More information about the wp-hackers mailing list