Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56059, comment 5


Ignore:
Timestamp:
06/25/2022 10:36:35 PM (2 years ago)
Author:
andreacalligaris
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56059, comment 5

    initial v1  
    1414}}}
    1515
    16 So that's where the bug lies. And it's definitely a bug because the labels are correctly translated, so it makes sense to be able to translate the description too.
     16So that's where the bug lies.
    1717
    1818> I think this might be a priority issue, e.g. the post type is being registered before the locale is set up or the text domain is loaded.
    19 It's weird that the labels are correctly translated, though, only the description fails. Anyway, it's something like that for sure.
     19It's weird that the labels are correctly translated on the website, though, only the description fails.
     20Therefore, it sounds like the description is applied early, when the locale is not yet set up, while the labels are applied later in the code.