#54564 closed enhancement (fixed)
Avoid translating several times wp_locale strings
| Reported by: | Chouby | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 |
| Component: | I18N | Version: | 1.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | performance |
Description
The translation being a rather expensive process, we should avoid to translate the same string several times.
In the class WP_Locale, week days are translated 3 times each and months are translated 2 times.
Attachments (1)
Change History (6)
This ticket was mentioned in PR #2432 on WordPress/wordpress-develop by johnbillion.
4 years ago
#3
Trac ticket: https://core.trac.wordpress.org/ticket/54564
johnbillion commented on PR #2432:
4 years ago
#5
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Avoid 26 duplicate translations