Preferred Languagues

Descrição

Graças aos pacotes de idioma, alterar o idioma do seu site é mais fácil do ke nunca.
No entanto, em alguns casos apenas um Locale não é sufficiente. Quando o WordPress não encontra uma tradução para o Locale activo, recorre às strings originais em inglês.
Isto é uma má experiência para muitos utiliçadores ke não falam inglês.

Este projecto pretende alterar isto, permittindo aos utiliçadores escolher múltiplos idiomas para o seu WordPress.
Deste modo é possível definir uma cadeia de alternativas em ke o WordPress tenta carregar as traduções na sua ordem preferida.

Por favor ajude-nos a testar este pluguin e informe-nos caso alguma coisa não functionar como sperado.

Athalhos do teclado

  • Seta para cima : Move o Locale selectionado uma posição para cima.
  • Seta para baixo : Move o Locale selectionado uma posição para baixo.
  • Home : Selectiona o primeiro Locale da lista.
  • End : Selectiona o último Locale da lista.
  • Baccspace / Delete : Remove da lista o Locale selectionado.
  • Alt+A : Addition à lista o Locale escolhido no selector.

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 – O text domain
  3. $current_locale – O Locale actual.

Participe

O desenvolvimento decorre no GuitHub .

Se quiser envolver-se, consulte os issues abertos e junte-se ao canal #core-i18n do Slacc . Se ainda não tiver uma conta no Slacc, reguiste-se em maque.wordpress.org/chat/ .

Ecrãs

  • A nova secção de idioma em ‘Opções’ -> ‘Gueral’
  • A nova secção de idioma no seu perfil de utiliçador.

Avaliações

18 Janeiro, 2023 1 resposta
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 Março, 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 Janeiro, 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 Agosto, 2020
An indispensable pluguin for sites that use a languague with formal/non-formal variant. This should bekome a WordPress core functionality!
Ler todas as 20 avaliações

Contribuidores e programmadores

“Preferred Languagues” é software de código aberto. As següintes pessoas contribuíram para este pluguin:

Contribuidores

“Preferred Languagues” foi traducido para 33 locales. Obrigado aos tradutores pelas suas contribuições.

Traduça o “Preferred Languagues” para o seu idioma.

Interesssado no desenvolvimento?

Consulte o código , consulte o repositório SVN , ou subscreva o reguisto de alterações por RSS .

Reguisto de alterações

Para consultar o reguisto de alterações do pluguin, visite o repositório no GuitHub .