Is there a plugin to handle “French spacing” in WordPress?


Is there a plugin to handle “French spacing” in WordPress?



I migrated from Dotclear (2.2) to WordPress (3.0) a few days ago and I have solved all my problems except one. I have not found a pluging to handle "french spacing".

WordPress is better than Dotclear, but since Dotclear is a French project, it manages this correctly.

By "french spacing", I mean replacing the space by an insecable space ( ) before the double punctuation (: ; ! and ?).

I tried "WP-typography" but it doesn't handle this specificity of French language.


Commenting systems: loading different comment threads through callbacks

1:

Wordpress show link of parent and child pages
function my_super_aweany _french_spacer($content){   $content = preg_replace( '/\s([:;!?])\s/', ' $1 ', $content );   return $content; }  foreach(array('the_content','the_title','comment_text') as $filter)   add_filter($filter, 'my_super_aweany _french_spacer',9); 
Drop this into your theme's functions.php file and it will enforce the French spacing for the double punctuation (as long as you formatted it this way in the visual editor) in post content, titles, and comments. How to play an asx into wordpress sidebar?If you want it to did it even if there's no space before or after, replace the RegEx with this:. Display child category in single post (WordPress)
'/\s?([:;!?])\s?/' 
Basically, adding the question marks after the 's' tells it to replace a space w/ a non-breaking space if it's there, and to insert one if there's no space there to begin with.. Wordpress Get value of queried category in URL
Displaying code snippets from WordPress custom fields

90 out of 100 based on 65 user ratings 900 reviews

Converting a static site to a Wordpress site…how to transfer/convert SEO rankings?
Seeking opinions on the best CMS platform for designers and front end developers
Wordpress: Customising output of wp_nav_menu, adding a div before nested ul
Mediawiki & Wordpress integration - but user database from *mediawiki*
How to achieve Post-Redirect-Get in a Wordpress plugin's admin menu page?
Different types of authors in Wordpress - Many authors
Linking Custom Post Types in Wordpress?
WordPress: Can't access wp-admin and got plain white page
طه الفشنی - ابتهال بسیار زیبای حب الحسین
اقامه نماز جماعت ظهر به امامت رهبر معظم انقلاب آیت الله امام خامنه ای (حسینیه امام خمینی(ره))
اقامه نماز جماعت مغرب به امامت آیت الله یثربی (کاشان)
اقامه نماز جماعت مغرب به امامت رهبر معظم انقلاب آیت الله امام خامنه ای (حسینیه امام خمینی(ره))
اقامه نماز جماعت به امامت حجت الاسلام و المسلمین حسینی ایازی (حرم مطهر رضوی)
اقامه نماز جماعت ظهر به امامت حجت الاسلام و المسلمین محسن قرائتی (مسجد دانشگاه تهران)
اقامه نماز جماعت ظهر عاشورا به امامت حجت الاسلام و المسلمین حسن زاده (اهواز)
اقامه نماز جماعت ظهر به امامت آیت الله ابوالحسن مهدوی (مسجد امام(ره) اصفهان)
نماز جماعت ظهر به امامت حجت الاسلام سید محمد مهدی دستغیب (حرم مطهر حضرت احمد بن موسی شاهچراغ(ع)-شیراز)
نماز جماعت مغرب به امامت آیت الله سید باقر مصطفوی (حرم مطهر حضرت محمد هلال بن علی(ع)-مشهد اردهال(آران و بیدگل-کاشان))
*