WordPress/wp-includes/l10n
Pascal Birchler 56eb5c22d8 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.


Built from https://develop.svn.wordpress.org/trunk@59029


git-svn-id: http://core.svn.wordpress.org/trunk@58425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-17 20:58:15 +00:00
..
class-wp-translation-controller.php I18N: Add a new way to determine whether a translation is available. 2024-09-17 20:58:15 +00:00
class-wp-translation-file-mo.php I18N: Add hardening for invalid meta lines in MO files. 2024-08-22 08:08:28 +00:00
class-wp-translation-file-php.php I18N: Improve singular lookup of pluralized strings. 2024-02-01 11:45:16 +00:00
class-wp-translation-file.php Code Modernization: Fix implicit nullable parameter type deprecation on PHP 8.4. 2024-04-15 20:03:09 +00:00
class-wp-translations.php I18N: Improve singular lookup of pluralized strings. 2024-02-01 11:45:16 +00:00