Recent post on the qTranslate plugin forumFiled Under: PHP
Hello,
I’m using the french version of wordpress 2.8 and when I’m trying to use the automatic update, it show that only english version is available : 2.8.4–en_US.
When the qTranslate extension is deactivated, the 2.8.4–fr_FR is also available.
I think it could be a problem with the core_version_check_locale hook.
add_filter('core_version_check_locale', 'qtrans_versionLocale');
I modified the function qtrans_versionLocale() of qtranslate_hooks.php and it solved the problem. I’m not sure if it’s the right way to solve it.
function qtrans_versionLocale() { return get_locale(); // Before modification : //return 'en_US'; }
regards,
Jonathan fleury
http://www.guroot.com/?lang=en
Tags: wordpress plugin
- Permalien
- guroot
- 12:12 PM
- Comments(0)