[wp-trac] [WordPress Trac] #41093: Theme Languages Problem

WordPress Trac noreply at wordpress.org
Sun Jun 18 18:49:31 UTC 2017


#41093: Theme Languages Problem
--------------------------+-----------------------------
 Reporter:  dingdang      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Short description: When changing the language AFTER a theme is installed,
 it doesn't update the po/mo files.

 To replicate:

 CASE A:
 1. fresh install of WordPress
 2. install any theme that has translation at wordpress.org for language X
 (not English)
 3. 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:
 1. fresh install of WP
 2. change the language to X
 3. 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41093>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list