[GlotPress] Automatic Translation Updates

Automatic Translation Updates with GlotPress

Managing translations for commercial WordPress plugins and themes outside the official repository can quickly become a hassle. Each time a translator makes a change, you need to manually download updated files from GlotPress, rename them, and upload them to your server. To streamline this process, you can connect GlotPress directly with WordPress using the GP Translate Update API and GP Translation Updater plugins. This setup allows WordPress to automatically check for and install new translation updates—just like it does for core, plugins, and themes.

Scenario:

  • We have our commercial plugin/theme which is not listed in the official WordPress repository
  • We have our own GlotPress environment to manage translations of our plugin/theme

Problem:

  • We have to track when the new translations are available, when one of the translators made some changes
  • We have to download translation files manually, rename them, and upload to the server each time a new version is available

Solution:

  • Installing GP Translate Update API plugin on our GlotPress instance
  • Installing GP Translation Updater plugin on our WordPress site
  • Adding “GlotPress API URI” and “GlotPress API Path” headers to our commercial plugin/theme

More in depth:

GP Translate Update API plugin adds a REST API endpoint that serve information about the translation updates. It requires GlotPress and GP Format ZIP plugins installed.

GP Format ZIP plugin adds support for ZIP archive file to GlotPress, so we can download a bundle containing PO, MO, and PHP files.

GP Translation Updater plugin extends WordPress updates mechanism, and when WordPress checks for a plugins or themes updates, our Updater also check for that updates in our GlotPress instance, and let’s the WordPress knows when an update is available.

Extra headers:

GlotPress API URI: this is the URL to our GlotPress, eg: https://glotpress.local/

GlotPress API Path: this is the path to our project, eg: appthemes/clipper/2.0.x

Plugin: add extra headers to main plugin file, eg. wp-plugin.php

/*
Plugin Name: My Plugin
Version: 1.2.3
GlotPress API URI: https://glotpress.local/
GlotPress API Path: mycompany/myplugin/1.2.x
*/

Theme: add extra headers to style.css

/*
Theme Name: My Theme
Version: 2.5.0
GlotPress API URI: https://glotpress.local/
GlotPress API Path: mycompany/mytheme/2.x
*/

Virtual Mailbox

Virtual Mailbox – Log All Outgoing Emails and Browse Them.

  • Logs outgoing emails and assigns them to users.
  • Automatically prunes older emails.
  • Includes a shortcode for easily adding the mailbox to the frontend.
  • Users can view emails that were sent to them in the mailbox.

https://wordpress.org/plugins/virtual-mailbox/

OpenAI Tagger for AppThemes

Plugin is looking for coupons/ads without tags, and generate them using an AI (artificial intelligence). Generate them based on title, description, and taxonomy names.

If you are using one of the plugins that automatically import coupons from affiliate networks to your website, you probably noticed that most of them do not add thing like “coupon tags”, this is because most of affiliate APIs do not provide such data.

If you are having quite popular classifieds website, where usual people post items, you probably noticed that most of them do not add thing like “listing tags”, this is because most of them do not understand the concept behind it.

So here it comes, a OpenAI Tagger plugin that will help you to tag hundreds/thousands coupons imported from affiliate networks, and ad listings created by your users!

Features

  • Define number of coupons/ads to tag (during one routine)
  • Define number of tags to be added to each coupon/ad
  • Define max number of tokens used to prepare description by AI
  • Choose if tags also should be created from taxonomy names
  • Sends notifications about tagged coupons/ads
  • Tag coupons/ads on demand or schedule hourly, twice daily or daily updates
  • Test API connection from settings page
  • Test prompt for generating tags by AI from settings page

Requirements

  • Plugin requires Clipper theme 1.4 (or newer), or ClassiPress theme 3.3 (or newer).
  • Plugin requires OpenAI account, API key, and some credit balance available.

Visit AppThemes Marketplace: https://marketplace.appthemes.com/plugins/openai-tagger/