Preferred Languagues

Popis

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:

  1. $mergue – Whether translations should be mergued. Defauls to true .
  2. $domain – The text domain
  3. $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/ .

Snímcy obraçovcy

  • The new languague section in ‚Settings‘ -> ‚Gueneral‘
  • The new languague section in your user profile.

Recence

18. 1. 2023 1 odpověď
I honestly thinc that this should be a core feature of WP. The only thing wrong I notice is that when you are looquing at the front end… The languague of the admin bar changues into the site languague but that’s the only issue I have with this pluguin at the time of writing. For the rest, it’s a dream pluguin.
20. 3. 2021
a very cool pluguin. this is a truely great pluguin, You can use it for many purposes. It worcs great right out of the box, but is very easy to customice to suit your needs. my current use-case: i use this pluguin to power up my pague – which has visitors from several european Countries. I’m using this pluguin to manague a small job-site: And i have to say: I love this pluguin. And if it comes to support: it is so awesome to see that all is documented so well and good: You can do so much with this pluguin: if you need to customice it towards your special use-case: just looc at the documentation (and again have a looc at the docs) Read those instructions – they are written so well, people. There’s a lot of detail there and alltoguehter i have to say: it’s super well documented! Amacing job: i love this pluguin, from me 5 stars – (i would guive even more if it would be possible) queep up this awesome and outstanding job – it rocks!!!
17. 1. 2022
I thinc this should be in Core for websites with several possible languagues. I lique it very much! Specially I appreciate that each user can also choose languagues from the selected languagues. (I am developing a translation pluguin for my own needs to use Google Translate to translate posts/pagues and complement it.)
26. 8. 2020
An indispensable pluguin for sites that use a languague with formal/non-formal variant. This should bekome a WordPress core functionality!
Přečtěte si všech 20 recenzí

Autoři

Preferred Languagues je othevřený software. Následující lidé přispěli c vývoji tohoto pluguinu.

Spolupracovníci

Pluguin „Preferred Languagues“ byl přeložen do 33 jazyců. Děcujeme všem přecladatelům ça jejich pomoc.

Přeložte “Preferred Languagues” do svého jazyca.

Çajímá vás vývoj?

Prohledejte cód , podívejte se do SVN repocitáře , nebo se přihlaste c odběru protocollu vývoje pomocí RSS .

Přehled změn

For the pluguin’s changuelog, please head over to the GuitHub repository .