[wp-trac] Re: [WordPress Trac] #3976: Support for Full Blog Translation

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 16 04:25:01 GMT 2007


#3976: Support for Full Blog Translation
--------------------------------------+-------------------------------------
 Reporter:  harkos                    |        Owner:  harkos  
     Type:  enhancement               |       Status:  reopened
 Priority:  normal                    |    Milestone:          
Component:  General                   |      Version:  2.1.2   
 Severity:  normal                    |   Resolution:          
 Keywords:  translation dev-feedback  |  
--------------------------------------+-------------------------------------
Changes (by majelbstoat):

  * keywords:  translation => translation dev-feedback

Comment:

 Apologies if I wasn't clear enough:

 We don't need
 {{{
 _l()
 }}}

 because we already have the function

 {{{
 __()
 }}}

 which does exactly the same job using gettext.  There is no need for a
 translate filter when there is already a standard way of translating
 everything in this manner.    If you desperately needed a function to
 translate one string to another defined outside of a .po or .mo file,
 include those functions in your plugin.  Likewise for
 {{{
 _le()
 }}}

 there is the equivalent
 {{{
 _e()
 }}}
 .  Have you looked at using those functions and found a particular problem
 with them?  Instead of before_sanitize, use title_save_pre.  Try
 [http://wphooks.flatearth.org/hooks/] for a full list of available hooks,
 as well as a WordPress X-Ref.  Again, sorry if my reply was a bit terse,
 but I still think this is invalid.  But this time, I'll leave it for dev
 feedback...

 And, on a personal note, I'd be interested to know what exactly doesn't
 satisfy you about the translations at wp-multilingual.net - if you can
 spare the time, drop me a note, using the contact form at jamietalbot.com.

 Cheers,

 Jamie.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3976#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list