Opened 10 years ago
Closed 10 years ago
#30369 closed defect (bug) (fixed)
Manually installing language files issue
Reported by: | deconf | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
There is an issue while manually installing language files, to replicate follow these steps:
- Install a new instance of WordPress and select the default option, as shown in 1.png
- Copy the localization files in wp-content (Romanian files in this case)
- Go to Settings -> General and select the new language (ro_RO). The WordPress install is properly localized, as you can see in 2.png
In Updates screen (see 3.png), you'll be prompted to reinstall the en_US version instead of the ro_RO or whatever.
Attachments (6)
Change History (18)
#3
@
10 years ago
- Keywords has-patch 2nd-opinion added; reporter-feedback removed
After switching back to en_US I could see the issue.
The update results are cached in a transient which we could delete if the WPLANG option is changed, see 30369.patch.
#4
@
10 years ago
- Keywords reporter-feedback added; has-patch 2nd-opinion removed
After clicking the "Verifică din nou" button, the correct language is displayed (as shown in your attachment). Probably the transient gets updated and the correct language code is displayed.
#6
@
10 years ago
If wanted we can also use the new function in /wp-admin/includes/class-wp-upgrader.php where we have the same code twice.
#7
@
10 years ago
- Keywords commit added; 2nd-opinion removed
- Milestone changed from Awaiting Review to 4.1
30369.2.patch uses the new function in class-wp-upgrader.php
as well.
#8
@
10 years ago
- Owner set to ocean90
- Resolution set to fixed
- Status changed from new to closed
In 30554:
#10
@
10 years ago
- Keywords has-patch commit removed
- Resolution fixed deleted
- Status changed from closed to reopened
Install an en_US instance