[wp-trac] [WordPress Trac] #36859: Patch to allow the current locale to be changed on the fly including fetching missing language files

WordPress Trac noreply at wordpress.org
Tue May 17 11:49:27 UTC 2016


#36859: Patch to allow the current locale to be changed on the fly including
fetching missing language files
--------------------------------------+----------------------
 Reporter:  pbearne                   |       Owner:
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:  wontfix
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------

Comment (by pbearne):

 @ocean90 I was just reading the trac

 I hear you about `DISALLOW_FILE_MODS` and I wonder if we can still build
 in some effort to fetch the files and handle the fail.

 What happens when the patch in #26511 switches and the language is not
 installed?

 Yes I know is not performant but it only every happens once.

 I am not sure want we should end up with. But been able to switch the
 Locale is useful what you take a patch without the download that just
 switches the language? maybe with a "do it wrong error" if the language is
 missing?

 What to do yu feel is the right way do this?

 Paul

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


More information about the wp-trac mailing list