[wp-trac] [WordPress Trac] #38485: Some part of the UI can be in the wrong language (edge cases)

WordPress Trac noreply at wordpress.org
Tue Nov 1 09:23:24 UTC 2016


#38485: Some part of the UI can be in the wrong language (edge cases)
---------------------------------------+-------------------------
 Reporter:  afercia                    |       Owner:  swissspidy
     Type:  defect (bug)               |      Status:  closed
 Priority:  high                       |   Milestone:  4.7
Component:  I18N                       |     Version:  trunk
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-screenshots has-patch  |     Focuses:
---------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39069"]:
 {{{
 #!CommitTicketReference repository="" revision="39069"
 I18N: Use the user's locale when loading text domains in the admin.

 Leverages `get_user_locale()` in `load_*_textdomain()` and
 `_load_textdomain_just_in_time()` to always load translations in the
 user's language when in the admin.

 Fixes #38485.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38485#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list