[wp-trac] [WordPress Trac] #50112: I18N - Option to set a fallback language
WordPress Trac
noreply at wordpress.org
Thu May 7 12:26:24 UTC 2020
#50112: I18N - Option to set a fallback language
-----------------------------+-----------------------------
Reporter: arglab | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
It would be great if WordPress had an option to select which language to
use when translations are not available in a locale. Currently, if a
translation is not available, WordPress displays the string in English.
This is one of the main reasons why many people who create projects for
users who speak a Spanish dialect prefer to use `es_ES` instead of their
locale. Using `es_AR` as an example, it would be great that, if a user
selects `es_AR` for their site, the translations made for that locale have
priority, but if some translations are not available, the site uses
`es_ES` instead of `en_US`.
The current solutions are:
* To manually download the translations of `es_ES`, and upload them to the
`/languages​​/` folder. However this process is tedious, and I doubt the
average user knows how to do it.
* Use a plugin like ''Language Fallback''.
Including this functionality in the core would increase the use of locales
with fewer translations that derive from bigger locales, like `es_X`,
`de_X`, `pt_X` and `fe_X`.
The language fallback option could be conditional to the selected
language:
[[Image(https://i.imgur.com/mDSOOjR.gif)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50112>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list