[wp-trac] [WordPress Trac] #52696: __() avoiding default language fallback
WordPress Trac
noreply at wordpress.org
Mon Jun 12 10:51:16 UTC 2023
#52696: __() avoiding default language fallback
-------------------------------------------------+-------------------------
Reporter: drzraf | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: I18N | Version:
Severity: minor | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
refresh |
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* keywords: good-first-bug has-patch => good-first-bug has-patch needs-
refresh
Comment:
Repurposing `__()` in such a way is a non-goal, so I would really just add
a separate `translation_exists()` or `has_translation` function and a
separate method on the translations class as described in my previous
comment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52696#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list