https://github.com/mayukojpn/force-update-translations
Download WordPress theme/plugin translations and apply them to your site manually even their language pack haven't been released or reviewed on translate.wordpress.org
https://github.com/mayukojpn/force-update-translations
i18n internationalization internationalization-plugin l10n localization translation wordpress wordpress-localization wordpress-plugin wordpress-translation
Last synced: 5 months ago
JSON representation
Download WordPress theme/plugin translations and apply them to your site manually even their language pack haven't been released or reviewed on translate.wordpress.org
- Host: GitHub
- URL: https://github.com/mayukojpn/force-update-translations
- Owner: mayukojpn
- Created: 2018-08-27T05:29:02.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-12-16T17:31:19.000Z (8 months ago)
- Last Synced: 2025-12-20T07:41:01.959Z (7 months ago)
- Topics: i18n, internationalization, internationalization-plugin, l10n, localization, translation, wordpress, wordpress-localization, wordpress-plugin, wordpress-translation
- Language: PHP
- Homepage: https://wordpress.org/plugins/force-update-translations/
- Size: 416 KB
- Stars: 11
- Watchers: 4
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Force Update Translations
## Description
Apply WordPress.org theme and plugin translations to a site even if translations are not yet approved or language packs have not been released.
> **Warning**: Currently this plugin downloads only strings from Development project instead of Stable for plugins. Please wait for an update or see the issue on GitHub.
> **Warning**: Currently this plugin is not able to generate the JSON files that is needed for JavaScript to consume some translations. Please wait for update or see the issue on GitHub.
## Usage
### Theme translation
Finally, updating theme translation files is now supported! To download the translation files for a theme:
1. Activate the theme you want to get the translation files.
1. Visit 'Appearance' > 'Update translation' in WordPress menu, or click 'Update translation' on theme details of current theme on 'Themes' page.
### Plugin translation
To download the translation files for a plugin:
1. Visit 'Plugins' in WordPress menu.
1. Click 'Update translation' under the name of the plugin for which you want to get the translation files.
## Changelog
= 0.6.0 - 2025-12-17 =
* Security: Fixed CSRF vulnerability (CVE-2025-58236)
* Security: Added nonce verification and permission checks for translation updates
* Security: Improved input validation and path traversal protection
* Improvement: PHP 8.2 compatibility enhancements
* Improvement: Code quality improvements (PHPDoc, visibility declarations)
* Update: Synchronized GlotPress locales library to latest upstream version
* Credits: Vulnerability discovered by @nblirwn (Patchstack Alliance), security patch implemented by @rocket-martue
= 0.5 =
* Child theme support. props @pedro-mendonca
= 0.4 =
* Bug fix for fresh installed WP. props @Dartui
= 0.3.2 & 0.3.3 =
* Update tested up to versions.
= 0.3.1 =
* Update locales.php and add WP.org variants support. props @pedro-mendonca
= 0.3.0 =
* Added theme translation support.
= 0.2.5 =
* Tested up to WP 5.5.
* Minor grammar correction. Props @ePascalC
* Added plugin icon. Props @mekemoke
= 0.2.4 =
* Tested up to WP 5.2.2 props @pedro-mendonca
* Check if if user Locale isn't 'en_US' props @pedro-mendonca
= 0.2.3 =
* Add Multisite support. props @pedro-mendonca
= 0.2.2 =
* Check if plugin exists in WordPress.org plugin directory. props @pedro-mendonca
= 0.2.1 =
* Make target locale switchable by user setting. Thanks for reporting @Dartui
* Improve escaping. Thanks for reporting @miya0001
= 0.2 =
* Export only Current/Waiting/Fuzzy translations. props @naokomc
* Capitalize plugin name.