[wp-trac] [WordPress Trac] #30049: wp_load_translations_early does not without WPLANG defined
WordPress Trac
noreply at wordpress.org
Sun Jul 15 18:21:57 UTC 2018
#30049: wp_load_translations_early does not without WPLANG defined
--------------------------+------------------------------
Reporter: szepe.viktor | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by soulseekah):
Attached a simple HTTP_ACCEPT_LANGUAGE-based locale detection.
Regular expression based on a locale list from here
https://stackoverflow.com/questions/3191664/list-of-all-locales-and-their-
short-codes#3191729
This is in no way a substitute for the deprecated `WPLANG` constant. We
need to find a way to set the language for those notices without using
`WPLANG` now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30049#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list