[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function
WordPress Trac
noreply at wordpress.org
Fri Sep 2 21:46:13 UTC 2016
#26511: Introduce a locale-switching function
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: ocean90
Type: feature request | Status: reviewing
Priority: normal | Milestone: 4.7
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by pbearne):
I still have a problem that you can change the locale to one that we don't
have the translation files installed for.
I believe that we need to include a set of .mo file with the locale
settings for all supported languages or return and error if an attempt to
switch to locale that the lang .mo are not installed
Thoughts?
I do what to see this in WP but we need to make is safe.
Paul
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26511#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list