[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function
WordPress Trac
noreply at wordpress.org
Wed May 18 19:46:11 UTC 2016
#26511: Introduce a locale-switching function
------------------------------------+------------------
Reporter: johnbillion | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.6
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------
Changes (by tfrommen):
* keywords: needs-patch => has-patch dev-feedback
Comment:
I just attached
[https://core.trac.wordpress.org/attachment/ticket/26511/switch_to_locale__revisited.php
a refreshed version of the WordPress.com functions].
I took a (PHP 5.2 compatible) object-oriented approach.
The only thing left is getting the according MO file for a textdomain.
This should be easy to fix, though, if we were to attach it (the file
path) to the MO object.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26511#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list