[wp-trac] [WordPress Trac] #52696: Add a way to determine whether a translation exists
WordPress Trac
noreply at wordpress.org
Tue May 28 12:18:19 UTC 2024
#52696: Add a way to determine whether a translation exists
-------------------------------------------------+-------------------------
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:
testing needs-unit-tests |
-------------------------------------------------+-------------------------
Comment (by mchirag2002):
@swissspidy
Please take a look at this implementation made in the PR. This way in the
edge case that the user might require to check whether the translation
exists or not, they wouldn't have to make a separate function call to
actually translate the ones which have translations available. The
functionality was already present in the `WP_Translations_Controller`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52696#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list