#29528 closed defect (bug) (fixed)
Fresh Install 4.0 Still asks to upgrade EN_GB
Reported by: | jag1989 | Owned by: | nacin |
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Upgrade/Install | Keywords: | |
Focuses: | Cc: |
Description
I've done a fresh install of WP4.0, I still see messages like so: 'WordPress 4.0 is available! Please update now.' on the WP Admin.
Additionally under 'Updates' menu I have 1 update which asks me to update EN_GB, once this is updated the messages are removed.
Should this language not be at the latest version when installed?
Change History (15)
#2
follow-up:
↓ 3
@
10 years ago
- Keywords close added; reporter-feedback removed
Tested with the language chooser and I see your messages: https://cloudup.com/cJkk2SBm4At
The update message related to the translations exists, because only core translations are downloaded on install, not for themes and plugins. Click the button and you get this: https://cloudup.com/cQni4QgS4nE.
The other issue is related to #27164, #23113, #27752 and #25712 and is something I want to fix in 4.1.
#3
in reply to:
↑ 2
@
10 years ago
Replying to ocean90:
Tested with the language chooser and I see your messages: https://cloudup.com/cJkk2SBm4At
The update message related to the translations exists, because only core translations are downloaded on install, not for themes and plugins. Click the button and you get this: https://cloudup.com/cQni4QgS4nE.
The other issue is related to #27164, #23113, #27752 and #25712 and is something I want to fix in 4.1.
This is correct, Language Selected upon install. It would be better, although more timely, to install/update the locale file. It would be fantastic if this were fixed for the next minor.
#6
@
10 years ago
- Milestone changed from Awaiting Review to 4.0.1
I have this fixed on the API side, but the code is a bit dicey, so I'm going to sleep on it and try to deploy it tomorrow.
Basically: Any locale that does not have a "complex" localized package (which is defined as having anything in /dist/ other than, at most, a readme, license, and a sample config file) will be whitelisted to be treated as essentially the same as an English package (because it is, minus translations). In this case, the install will only be told about the localized package (and thus it'll think it is up to date) and not the English package (and thus it won't complain about installing WP in English).
It's essentially making these two responses equal-ish:
- http://api.wordpress.org/core/version-check/1.7/?version=4.0&locale=es_ES&local_package=es_ES
- http://api.wordpress.org/core/version-check/1.7/?version=4.0&locale=es_ES
While also dropping the second English offer out of the first one.
(This makes sense — it doesn't matter if you're running a localized package or just a locale, as long as there are no special modifications to the localized package.)
This will affect #29456 slightly, but instead of upgrading to the latest WP core offer of 4.0-es_ES, it'll think you're running the latest version and you'll just hit "Update Translations" to get the updated strings. (If you hit Reinstall, you'll get 4.0-es_ES which will give you the localized readme/config-sample/license, but no one should care about this.) As per above, though, if you are one of those complex locales that has /dist/ modifications or plugins that is not on the whitelist, then you will need to actually update core to 4.0-$locale, as the API will think you are only on 4.0 in English.
I downloaded the localized package from http://en-gb.wordpress.org/ and can't the the messages, see https://cloudup.com/cBJJg7ooW_R.
Or have you choosen the language via the language chooser on install?