[Plugin: Facebook Connect] Localization
-
Hi,
I am using your plungin and he his well coded, but you don’t localize the facebook script, you can do it by using :
function facebook_header(){ global $locale; wp_enqueue_script( 'facebook_connect_js_functions', 'http://connect.facebook.net/'.$locale.'/all.js', array('jquery') ); }In you file, WordPress and facebook seems to use the same locale string, so it’s perfect !
You have missed some strings for the internationalization like in widget, don’t forget to add your translate slug in the _e and __ functions.
Also you add the shortcode 2 times in your fb-connect.php file at line 48
I have translated the plugin french, so i you want i can give you the po and mo files.
And a warning to the other users that using wp_logout_url function, don’t use single quotes for your href but double quotes, if you do the link would not work !
Regards,
Rahe
The topic ‘[Plugin: Facebook Connect] Localization’ is closed to new replies.