Opened 8 years ago
Closed 5 years ago
#41093 closed defect (bug) (invalid)
Theme Languages Problem
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8 |
Component: | I18N | Keywords: | close |
Focuses: | Cc: |
Description
Short description: When changing the language AFTER a theme is installed, it doesn't update the po/mo files.
To replicate:
CASE A:
- fresh install of WordPress
- install any theme that has translation at wordpress.org for language X (not English)
- change the language (Dashboard > Settings > General > Site Language) to X
Problem: the theme is not updated. That happens at some point in 24 hours (may be a cron job?)
CASE B: However it is OK if done the following way:
- fresh install of WP
- change the language to X
- install of any theme translated to X at wordpress.org
If in CASE A wordpress core is reinstalled, then it downloads the respective language X files for the theme.
So to solve this an action should be performed on language change to check for language X and update the theme if it is present.
Attachments (1)
Change History (4)
#1
@
6 years ago
- Component changed from General to I18N
- Keywords close added
Hi @dingdang I hope this finds you well.
Reviewing this appears to be expected functionality. When WordPress is set to a locale and new themes/plugins are installed their respective language files are downloaded at the same time. However when themes/plugins exist already installed and you switch locale if there are available language files then an update will become available for translations. You should see this button on the Updates screen after switching locale if translations files are available for your installed themes/plugins.
As this is expected I'm marking for close
and moving to the i18N component.
Let me know if you're not seeing the 'Update Translations' button on the updates page or if I've misunderstood the issue here.
All the best
Update Translations prompt triggered upon switching locales