[wp-trac] [WordPress Trac] #10679: Need filter to catch untranslated strings

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 24 17:37:53 UTC 2009


#10679: Need filter to catch untranslated strings
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:  nbachiyski                         
     Type:  enhancement  |      Status:  new                                
 Priority:  normal       |   Milestone:  2.9                                
Component:  i18n         |     Version:  2.8.4                              
 Severity:  normal       |    Keywords:  has-patch needs-testing 2nd-opinion
-------------------------+--------------------------------------------------
 Currently I am translating many WP plugins to my language. Sometimes it is
 a bit difficult to find correct context for translated strings, so I
 decided to simplify things a bit and write plugin which will append "@@"
 at beginning of untranslated strings. I can do this using gettext filter,
 but this solution has one drawback - I cannot distinguish when there is no
 translation from when translated text is the same as original. Therefore I
 am asking for new filter used for untranslated strings only, or for new
 param for existing one - I am not sure which will be better from
 performance perspective (keep in mind that many plugins are used without
 translations available).

 Attached patch adds new filter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10679>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list