[wp-meta] [Making WordPress.org] #106: Make "WordPress is also available in..." string translatable

Making WordPress.org noreply at wordpress.org
Tue Sep 2 16:02:17 UTC 2014


#106: Make "WordPress is also available in..." string translatable
-----------------------------+---------------------
  Reporter:  SergeyBiryukov  |      Owner:
      Type:  defect          |     Status:  new
  Priority:  low             |  Component:  General
Resolution:                  |   Keywords:
-----------------------------+---------------------

Comment (by Otto42):

 The language guessing code is not running within a WordPress context. This
 makes it extremely difficult to translate. It will need some rewriting of
 the ajax calls.

 @valeriosza : It doesn't really work based on your location, as such.
 First and foremost, it uses your locale, as sent by your browser. If your
 web browser knows about Portuguese and sends that as a possible language,
 then you'll get the Portuguese version no matter where you are. It falls
 back to an IP check if there is no locale information, but that's pretty
 inaccurate and the locale is the usual information used.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/106#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list