Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-10-15 21:33:10

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Localize Textile quotes

This seems to be a very good detail Localize Textile quotes.

Until now I always did this manually in the classTextile.php file:

// define these before including this file to override the standard glyphs
@define('txt_quote_single_open',  '‚');	// CR: für Deutsch, war &#8216
@define('txt_quote_single_close', '‘');	// CR: für Deutsch, war &#8217
@define('txt_quote_double_open',  '„');	// CR: für Deutsch, war &#8220
@define('txt_quote_double_close', '“');	// CR: für Deutsch, war &#8221

Thank you!

PS: The characters in my example have been converted now by Textile … :-(

Last edited by GugUser (2013-10-15 21:35:29)

Offline

#2 2013-10-16 03:58:24

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Localize Textile quotes

:-)

Offline

#3 2013-10-16 06:38:55

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: Localize Textile quotes

+1

Thanks lot Jukka ;)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB