[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function
WordPress Trac
noreply at wordpress.org
Thu Mar 26 23:20:49 UTC 2020
#26511: Introduce a locale-switching function
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: swissspidy
Type: feature request | Status: closed
Priority: high | Milestone: 4.7
Component: I18N | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs-dev- | Focuses:
note commit |
-------------------------------------------------+-------------------------
Comment (by isuke01):
Almost working ...
If user langauge is same as language of page or user lang is default (so
it is same as page language)
it will work.
But if User langauge is different than page language, it does not working,
actually it produces fatal error of memory if you try to debug it
(loadtext_domain produce this error), I have tried to allocate 5gb of
memory, still issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26511#comment:104>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list