A very light wrapper plugin that uses the native gettext library.
Author: | Colin Leroy-Mira (profile at wordpress.org) |
WordPress version required: | 4.7 |
WordPress version tested: | 6.3.1 |
Plugin version: | 1.1.3 |
Added to WordPress repository: | 26-02-2022 |
Last updated: | 22-09-2023 |
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | https://github.com/colinleroy/native-gettext-... |
Total downloads: | 1 730 |
Active installs: | 10+ |
Click to start download |
This plugin has no setting or UI. It just does one thing : use the php-gettext library to handle translations. This results in much faster translation than using the default PHP gettext implementation of WordPress.
If the extension is not available, the plugin will simply do nothing.
You can verify that the plugin is working by looking for an HTTP header: X-Native-Gettext: 1, that will be sent as soon as a string will be translated by the native library.
If your WordPress install is in English, this plugin has no purpose. Otherwise, it can help speed up your install quite a lot.
Requirements:
– php-gettext
– OS-level support for the locale(s) you want to translate to.