#18741 closed defect (bug) (fixed)
Autoupdate does not install translation files
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2.2 |
| Component: | Upgrade/Install | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
WP autoupdater does not install translation files - at least when I tried to convert my english WP install to Polish.
Steps to reproduce:
- install WP (English version);
- add define('WPLANG', 'pl_PL'); to wp-config.php;
- open /wp-admin/update-core.php page and install WordPress with pl_PL translations.
For some reason updater does not create wp-content/languages directory and does not copy translation files.
As I recall, this worked in the past (for sure on some last WP 2.x versions), but cannot tell when it stopped working.
Attachments (1)
Change History (11)
- Keywords reporter-feedback added
And by file, I mean't this zip file:
Downloading update from http://downloads.wordpress.org/…
comment:3
SergeyBiryukov — 20 months ago
Confirmed with ru_RU as well.
Downloading update from http://ru.wordpress.org/wordpress-3.2.1-ru_RU.zip…
- Keywords reporter-feedback removed
Message for pl_PL is similar:
Downloading update from http://pl.wordpress.org/wordpress-3.2.1-pl_PL.zip…
- Owner set to dd32
- Status changed from new to accepted
Cheers, I'll take a look under the hood tomorrow and see what's going on. I have a feeling this might be caused by the locale_package variable not being set when you install the way you have.
SergeyBiryukov — 20 months ago
comment:6
SergeyBiryukov — 20 months ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 3.3
In [17576], str_replace() had arguments in the wrong order.
- Resolution set to fixed
- Status changed from accepted to closed
In [18764]:
comment:10
dd32 — 20 months ago
For anyone who comes across this bug, create your wp-content/languages/ folder manually, and then perform the update, the language files will be loaded then.
#18784 was closed as a duplicate.

What file does it say it's installing on the upgrade/re-install process page?