[wp-trac] [WordPress Trac] #28197: Fallback Languages
WordPress Trac
noreply at wordpress.org
Sun May 8 14:11:32 UTC 2016
#28197: Fallback Languages
---------------------------+------------------------------
Reporter: downstairsdev | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by cvedovini):
Replying to [comment:44 Kau-Boy]:
> Using a translatable core string does not require any new files.
still, it's a new data that needs to be managed (I thought of new file
because I imagined a new domain, I see now you're using _x in your
example, not __, my bad)
> To whole point of this new core functionality is to have a generic
fallback for all plugins and themes. You are right, that having a core
translation file named with the locale name would be OK for the WordPress
core. But all plugins and themes, that do not have a correct lanuguage
variant file, would fall back to English.
it's not working much for plugins and themes either, you will require that
they actually provide the fallback (say "es_ES") which is the same as me
asking them to provide "es", so in that front there is no difference
> As you can see from the active install of my plugin, there is a great
nead for such a feature and having it in core would make it even easier
for all users. As for German, using the formal variant has become more
common, now that you can choose it from the backend settings or on
installation. For those users, a default fallback should be in core.
like I said before, I totally agree the mechanism should be in the core.
the question is what mechanism? I prefer something simple that is conform
to standards that are already used elsewhere, that's all.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28197#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list