Opened 7 years ago
Last modified 5 years ago
#43802 new feature request
Default timezone for new sites in WP multisite
Reported by: | moreauf | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.5 |
Component: | I18N | Keywords: | has-patch |
Focuses: | administration, multisite | Cc: |
Description
In WordPress Multisite, the super admin may set a default language for all newly created sites but not a default timezone. As a matter of fact, the timezone for new sites is taken from translation string "0" (context string "default GMT offset or timezone string"). Relevant code
Unfortunately, language is not location. It's entirely possible for a community using WordPress multisite to use a language while not being physically based in the usual timezone for said language. Furthermore, many language are spread all over the world.
For that reason I think it would be more correct to decouple default timezone from translation files and add a "default timezone for new sites" setting for multisite installations.
I agree language isn't location.
The translated string may be a numeric offset or a database name such as "Africa/Addis_Ababa". I think the solution should continue to support translations like this if they exist but the primary way to set the default shouldn't be gettext.