Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52438, comment 11


Ignore:
Timestamp:
11/28/2024 10:45:39 AM (7 months ago)
Author:
captain.crash
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52438, comment 11

    initial v1  
    66The correct way would be - because my parent theme translation overrides would wipe out all parent theme translations - to make sure I load these as well, really?
    77
    8 If `load_theme_textdomain()` and the likes are becoming obsolete and loading happens automatically, why is it not looking up and loading translations in this order:
     8If `load_theme_textdomain()` and the likes are becoming obsolete and loading happens automatically, why is it not looking up and loading translations in this order (only MO files for brevity):
    99
    10 - wp-content/themes/child-theme/languages/
    11 - wp-content/themes/parent-theme/languages/
    12 - wp-content/languages/themes/
     10- wp-content/themes/child/languages/locale.mo
     11- wp-content/languages/themes/child-locale.mo
     12- wp-content/themes/child/languages/parent-locale.mo
     13- wp-content/themes/parent/languages/locale.mo
     14- wp-content/languages/themes/parent-locale.mo