[wp-trac] [WordPress Trac] #52654: Check and recommend intl extension in Site Health
WordPress Trac
noreply at wordpress.org
Fri May 7 17:39:12 UTC 2021
#52654: Check and recommend intl extension in Site Health
-------------------------+------------------------------
Reporter: zodiac1978 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-------------------------+------------------------------
Comment (by jrf):
Replying to [comment:3 JavierCasares]:
> In the "intl" there are several functions.... some summary of use:
I've just had a quick look through the search results and feel like I need
to add a word of warning on the value of these as there appear to be quite
some false positives due to the searches not being precise enough.
That by no means invalidates the drive to get people to activate the
extension as I totally agree the Intl extension really does add
significant value if we could use it.
It just means that the "plugin use" information as part of the making the
case for recommending Intl is flawed.
> + [https://wpdirectory.net/search/01F3MVC04W11M718DY0X6MXQQV Locale]
Checked the complete first page and only found 8 legitimate uses out of
100 entries. Everything else was false positive, including the whole top
five listed above. Most JS or PO files.
> + [https://wpdirectory.net/search/01F3MVEAXY7YNREVV3Z93FBP7N Normalizer]
Verified first x entries and found mostly correct. About 25% false
positives from the Guzzle `README.md` file, some more false positives for
namespaced classes also called Normalizer`. Rest mostly coming from the
Symfony Iconv/Intl polyfills.
> + [https://wpdirectory.net/search/01F3MVJAYM1Q9ETA2JFJP1C99X
MessageFormatter]
Verified first x entries and nearly all are false positives. Mostly use in
comments or the Guzzle `UPGRADING.md` file. Only found two legitimate uses
from the Symfony Intl polyfill.
> + [https://wpdirectory.net/search/01F3MV5CPQPFQTZZ8Y940GZZR6 Collator]
Verified first x entries and found mostly correct. About half coming from
Symfony Intl Polyfill, the other half from a "free world map" function.
Saw at least one false positive in a JS file.
> + [https://wpdirectory.net/search/01F3MV9SC286PCYTJHRC5458YJ
NumberFormatter]
Verified first x entries and found mostly correct. Saw at least one false
positive in a JS file.
> + [https://wpdirectory.net/search/01F3MVPAQWJT5H56MEPTFCW12R
IntlTimeZone]
Verified first x entries and found correct. About half coming from Twig,
the other half from Symfony Validator.
> + [https://wpdirectory.net/search/01F3MVQGSSAXQBGDHP36029807
IntlDateFormatter]
Verified first x entries and found correct. About half coming from Twig.
> + [https://wpdirectory.net/search/01F3MVSF9PCSH6GJAQ1JYC3RX8
Spoofchecker]
Verified and found correct. Most coming from the `Egulias\EmailValidator`
package.
> + [https://wpdirectory.net/search/01F3MVT83XQ9Y0P0Z21RMHN6HB
Transliterator]
Some false positives for use in comments or translatable strings. Some
real use.
> + [https://wpdirectory.net/search/01F3MVW9NV0Y7NK45FSK9X9ENQ UConverter]
Verified and found correct. Mostly found in a SimplePie code (not the WP
Core version).
> + [https://wpdirectory.net/search/01F3MVXTP89M39N40KAR9RR2DT IntlChar]
Verified and found correct.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52654#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list