[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function

WordPress Trac noreply at wordpress.org
Sat Oct 22 13:21:46 UTC 2016


#26511: Introduce a locale-switching function
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  swissspidy
     Type:  feature request                      |      Status:  accepted
 Priority:  high                                 |   Milestone:  4.7
Component:  I18N                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------

Comment (by ocean90):

 Replying to [comment:85 swissspidy]:
 > The PR still doesn't seem to contain the updated patch, or am I missing
 something?

 I made a new one and it's still failing for PHP < 7.0, see https://travis-
 ci.org/aaronjorbin/develop.wordpress/builds/169711596

 Looks like it gets stuck at ''Starting test
 'Tests_L10n_loadTextdomainJustInTime::test_theme_translation_after_switching_locale'''':

 {{{
 ...
 Starting test
 'Tests_L10n_loadTextdomainJustInTime::test_theme_translation_should_be_translated_without_calling_load_theme_textdomain'.
 .
 Starting test
 'Tests_L10n_loadTextdomainJustInTime::test_get_translations_for_domain_does_not_return_null_if_override_load_textdomain_is_used'.
 .
 Starting test
 'Tests_L10n_loadTextdomainJustInTime::test_should_allow_unloading_of_text_domain'.
 .
 Starting test
 'Tests_L10n_loadTextdomainJustInTime::test_plugin_translation_after_switching_locale'.
 . 3904 / 7369 ( 52%)

 Starting test
 'Tests_L10n_loadTextdomainJustInTime::test_theme_translation_after_switching_locale'.
 }}}

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


More information about the wp-trac mailing list