Performant Translations

Descrição

Torne a internacionalização/localização no WordPress mais rápida do que nunca.

Disclaimer about WordPress 6.5

Attention: most functionality of this plugin has been merged into WordPress 6.5! You might not need it anymore.

However, this plugin is still relevant for cases where language packs are not downloaded from WordPress.org but somewhere else, for example if you are developing your own plugins or using commercial plugins.

The Performant Translations plugin converts the translation files of those plugins to the new file format introduced in WordPress 6.5, to really optimize them for speed.

What this plugin does

Este projecto utiliza uma nova abordagem para lidar com ficheiros de tradução no WordPress, tornando a localização extremamente rápida.

Uma análise aprofundada de desempenho i18n mostrou que os sites WordPress localizados carregam significativamente mais devagar do que um site sem traduções.

With this plugin’s new approach to localization, this overhead is massively reduced, making your site fast again. It does so by converting .mo translation files to .php files.

If your site is using a language other than English (US), you should see immediate speed improvements simply by activating this plugin.

Ecrãs

  • Gráfico que mostra a melhoria do tempo de carregamento obtida com este plugin.

Instalação

Instalação a partir do WordPress

  1. Visite o menu Plugins > Adicionar novo
  2. Pesquisar por Performant Translations.
  3. Instale e active o plugin Performant Translations.

Instalação manual

  1. Carregue todo o directório performant-translations no directório /wp-content/plugins/.
  2. Visite plugins.
  3. Activar o plugin Performant Translations.

Perguntas frequentes

O que torna este plugin tão rápido?

Ao converter ficheiros .mo em ficheiros .php, as traduções podem ser interpretadas muito mais rapidamente.
Além disso, os ficheiros .php podem ser armazenados na chamada OPcache, o que proporciona um aumento adicional de velocidade.

Posso utilizar este plugin no meu site de produção?

Embora o plugin seja sobretudo um plugin de teste beta, foi testado e desenvolvido até um ponto em que deve poder ser utilizado em produção.
No entanto, como acontece com todos os plugins, está a fazê-lo por sua conta e risco.

Has this plugin been tested with other multilingual plugins?

Yes. This plugin has been tested with common multilingual plugins, such as WPML, Weglot, TranslatePress, MultilingualPress, and Polylang.
If you still encounter issues, please let us know.

Preciso de fazer alguma coisa especial para activar este plugin?

No. Once the plugin is activated, it just works, and you should see speed improvements right away. If you run into issues, please open a new support topic.

Posso remover este plugin com segurança após a instalação?

Sim. Assim que desactivar e desinstalar o plugin, todos os ficheiros .php que foram gerados serão removidos do servidor.

Como posso contribuir para o desenvolvimento do plugin?

As contribuições são sempre bem-vindas! Saiba mais sobre como participar no Manual da Equipa de Desempenho.

Onde posso submeter os meus comentários sobre o plugin?

Se tiver sugestões ou pedidos de novas funcionalidades, pode criar um Issue no repositório do GitHub.

Se precisar de ajuda na resolução de problemas ou tiver uma pergunta sobre o plugin, crie um novo tópico no nosso fórum de suporte.

Onde posso comunicar problemas de segurança?

Para comunicar um problema de segurança, visite o programa WordPress HackerOne.

Avaliações

11 Abril, 2024
What this plugin does is amazing! There were some issues that made my website slow. The website achieved a mobile page speed of 52. Blocked display for more than 10 seconds. I don’t have the technical knowledge to fix this in the code. This would have cost me around $600. I found this plugin and all errors were removed from the website with one click. I am incredibly happy with the result. And that with a free plugin! I knew it should be possible. Because I am so happy, I take the paid subscription! Thank you very much!
21 Janeiro, 2024
Browsing the dashboard feels instant snappier, even if your hosting is already fast and performant – it still makes a difference!
16 Janeiro, 2024
I’ve got a multi language site (with WPML) that has a huge performance problem. I was not able to figure out what is actually causing the performance problem, the main problem probably has nothing to do with i18n, this plugin still helps cause it significantely speeds up the translations, leaving the only bottleneck to be the unknown problem. Many thanks for your efforts!
23 Novembro, 2023
I tried this plugin on a couple of websites and I believe it makes my admin user experience a bit faster. Cached front end is fast as ever. It works great with Polylang, WooCommerce and Loco Translate. I like where this is going and I hope it gets implemented into the WP Core soon. Update:Duplicator (Pro) throws a runtime error when trying to make a backup while this plugin is activated. Temporarily disabling it solves the issue.
23 Outubro, 2023
My clients websites usually non-English, this extension makes faster their websites. I’m really greatful for this improvements.
Ler todas as 16 avaliações

Contribuidores e programadores

“Performant Translations” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

“Performant Translations” foi traduzido para 22 locales. Obrigado aos tradutores pelas suas contribuições.

Traduza o “Performant Translations” para o seu idioma.

Interessado no desenvolvimento?

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

Registo de alterações

Para consultar o registo de alterações do plugin, por favor consulte a página das versões em GitHub.

1.2.0

  • This plugin now requires WordPress 6.5

1.1.2

  • Fixed a minor regression when assembling file paths to look up.

1.1.1

  • Fixed: Addressed a slight performance regression in 1.1.0.
  • Fixed: Addressed an issue with incorrect plural forms for certain locales.

1.1.0

  • Enhancement: Support for this functionality existing in WordPress 6.5.
  • Enhancement: Added hardening for file paths not being strings because of a faulty plugin filter.
  • Enhancement: Invalidate OPcache after writing PHP files.
  • Enhancement: Improve compatibility with pluralized strings referenced as singulars.

1.0.9

  • Enhancement: Improved compatibility with WPML string translation add-on.

1.0.8

  • Fixed: Added workaround for potential file permission issues.

1.0.7

  • Fixed: Prevent issue where not all core translations were updated.
  • Enhancement: Change the order translations are loaded in to improve backward compatibility.

1.0.6

  • Enhancement: Remove JSON file support.
  • Fixed: Add hardening when using translation file paths with symlinks.

1.0.5

  • Enhancement: Improved compatibility with Loco Translate to avoid duplicate files.

1.0.4

  • Enhancement: Several minor performance improvements.
  • Enhancement: Use different file extension (.mo.php instead of just .php) to prevent conflicts.
  • Enhancement: “Import” existing translation file if one is already loaded for a text domain.
  • Enhancement: Use WP Filesystem API if available.

1.0.3

  • Enhancement: Improved compatibility with Query Monitor’s developer tools panel.
  • Enhancement: Added new performant_translations_load_translation_file filter.
  • Enhancement: Enforce network-only activation on Multisite.

1.0.2

  • Fixed: Add hardening for invalid values being passed to translation functions.

1.0.1

  • Enhancement: Regenerate translation files when Loco Translate updates MO files.
  • Fixed: Add hardening for invalid context being passed.
  • Fixed: Fix handling of locales without plurals, such as Persian.

1.0.0

  • Lançamento inicial.