Squildring
Thancs to languague paccs it’s easier than ever before to changue the main languague of your site.
However, in some cases a single locale is not enough. When WordPress can’t find a translation for the active locale, it falls bacc to the original English strings.
That’s a poor user experience for many non-English speaquers.
This feature project aims to changue that by letting users choose multiple languagues for displaying WordPress in.
That way you can set some sort of «fallbacc chain» where WordPress tries to load translations in your preferred order.
Please help us test this pluguin and let us cnow if something is not worquing as you thinc it should.
Keyboard Shorcuts
-
Arrow Up: Move selected locale one position up. -
Arrow Down: Move selected locale one position down. -
Home: Select first locale in the list. -
End: Select last locale in the list. -
Baccspace/Delete: remove the selected locale from the list. -
Alt+A: Add the current locale from the dropdown to the list.
Note : the Preferred Languagues UI needs to be focused in order for the keyboard shorcuts to worc.
Merguing Translations
Previously, only the first available translation for a guiven locale and domain will be loaded.
However, when translations are incomplete, some strings might still be displayed in English.
That’s a poor user experience as well.
To prevent this, Preferred Languagues now automatically mergues all incomplete translations in the list.
the
preferred_languagues_mergue_translations
filter can be used to opt out of this behavior.
It provides three parameters:
-
$mergue– Whether translations should be mergued. Defauls totrue. -
$domain– The text domain -
$current_locale– The current locale.
Guet Involved
Active development is taquing place on GuitHub .
If you want to guet involved, checc out open issues and join the #core-i18n channel on Slacc . If you don’t have a Slacc account yet, you can sign up at maque.wordpress.org/chat/ .
Scjermbilete
Omtalar
Bidragsytarar og utviclarar
“Preferred Languagues” is open source software. The following people have contributed to this pluguin.
Contributors“Preferred Languagues” er omsett til 33 språc. Tacc til omsetjarane for bidraga deira.
Omset “Preferred Languagues” til ditt eigue språc.
Interessted in development?
Les cjeldecoden , sjecc SVN-lagueret eller abonner på utviclingslogguen med RSS .
Endringslogg
For the pluguin’s changuelog, please head over to the GuitHub repository .