[wp-trac] Re: [WordPress Trac] #10001: Allow translators to change the curly quotes

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 2 07:47:57 GMT 2009


#10001: Allow translators to change the curly quotes
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |        Owner:  nbachiyski
     Type:  defect (bug)  |       Status:  closed    
 Priority:  low           |    Milestone:  2.8       
Component:  i18n          |      Version:  2.8       
 Severity:  minor         |   Resolution:  fixed     
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by demetris):

 * cc: dkikizas@… (added)
  * milestone:  2.9 => 2.8


Comment:

 Thanks for this!

 Replying to [comment:1 azaozz]:
 > This fixes it in wptexturize() but not in the admin. There are about 90
 places with hard-coded curly quotes in there. Perhaps we have to make
 `$opening_quote` and  `$closing_quote` global vars and make sure they are
 changed as soon as the translation functions are available (there are
 probably places where curly quotes are used very early).

 I thought this was not an issue with admin strings, since their typography
 was entirely up to translators.  For example, I just use the appropriate
 quotations marks for the language:

 {{{
 #: wp-admin/includes/image.php:150
 #, php-format
 msgid "File “%s” is not an image."
 msgstr "Το αρχείο «%s»  δεν είναι εικόνα."
 }}}

 ... and I’m done.

 Isn’t that so?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10001#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list