[wp-trac] [WordPress Trac] #61628: Localization Behavior Change
WordPress Trac
noreply at wordpress.org
Thu Jul 11 21:10:05 UTC 2024
#61628: Localization Behavior Change
-------------------------------------+------------------------------
Reporter: gsexton | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => reporter-feedback close
Comment:
Could you perhaps share the code to your plugin so we can better assess
what the issue might be?
> There's an en_US file.
Why do you have an en_US file?
The default strings in your plugin are supposed to be in en_US, so there's
technically no need to have an en_US file (although you can have one to
override strings if you need that for some reason).
> How is fallback handled in the case where there isn't a specific
language_COUNTRY match?
There is no fallback currently (see #28197). If there is no language file
for the current locale, nothing gets loaded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61628#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list