Language Pack Server for GlotPress
Generates and serves language pack downloads from GlotPress instance.
by helgatheviking · github.com/helgatheviking/gp-language-pack-server · website
★ 0stars
2release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/helgatheviking/gp-language-pack-server/releases/download/1.0.2/gp-language-pack-server-1.0.2.zipDeclares an update source (https://www.backcourt.io), so updates arrive through the plugin's own updater.
From the readme
Language Pack Server for GlotPress
A WordPress plugin that transforms a site running GlotPress into a language pack delivery server for custom/premium plugins and themes. It generates, stores, and serves localized translation packages in the exact style of WordPress.org.
Key Features
1. Core updates REST endpoint: Client sites can query /wp-json/gp-language-pack-server/v1/api/{project} to check for translation updates.
2. POT Import REST endpoint: Import new translation templates from external build tools (like GitHub Actions) to GlotPress automatically via /wp-json/gp-language-pack-server/v1/projects/{project}/import.
3. Automatic Pack Generation: Packages translations as standard .po and .mo files into a ZIP archive, triggered either dynamically (when translations are saved), or at scheduled daily intervals via WP-Cron.
4. Automatic JED JSON Compilation: If translations reference JavaScript files (e.g. Gutenberg block editors), it compiles JED 1.x-compliant .json files and packages them into the ZIP.
5. Change-Detection Optimization: Skips ZIP regeneration if no changes have occurred since the last build to save CPU and disk.
6. Interactive Control Center: View active Gl
Read the full README on GitHub →