[wp-trac] [WordPress Trac] #52696: Add a way to determine whether a translation exists

WordPress Trac noreply at wordpress.org
Tue Sep 17 20:56:18 UTC 2024


#52696: Add a way to determine whether a translation exists
-------------------------------------------------+-------------------------
 Reporter:  drzraf                               |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7
Component:  I18N                                 |     Version:
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests commit needs-dev-note                    |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59029" 59029]:
 {{{
 #!CommitTicketReference repository="" revision="59029"
 I18N: Add a new way to determine whether a translation is available.

 A new `has_translation()` function can be used to determine whether a
 translation exists for a given string.

 Props louiswol94, swissspidy, drzraf, ckanitz, tomhine, mchirag2002,
 samuelsilvapt.
 Fixes #52696.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52696#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list