Title: GP Auto Extract
Author: Greg Ross
Published: <strong>January 28, 2016</strong>
Last modified: November 7, 2024

---

Search plugins

![](https://ps.w.org/gp-auto-extract/assets/banner-772x250.png?rev=3182669)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/gp-auto-extract/assets/icon-256x256.png?rev=3182669)

# GP Auto Extract

 By [Greg Ross](https://profiles.wordpress.org/gregross/)

[Download](https://downloads.wordpress.org/plugin/gp-auto-extract.1.1.zip)

 * [Details](https://pcd.wordpress.org/plugins/gp-auto-extract/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/gp-auto-extract/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/gp-auto-extract/#installation)
 * [Development](https://pcd.wordpress.org/plugins/gp-auto-extract/#developers)

 [Support](https://wordpress.org/support/plugin/gp-auto-extract/)

## Description

A plugin for [GlotPress](https://wordpress.org/plugins/glotpress) that adds an option
to extract original strings from a remote source repo directly in to a GlotPress
project.

Features:

 1. WordPress, GitHub and custom sources.
 2. Private GitHub repos with HTTP basic authentication.
 3. GitHub tags and branches.
 4. Importing for an existing extract file.

To set it up, go to Settings->GP Auto Extract in WordPress. You’ll see a list of
your projects in GP, you can edit the settings for each one:

 1. Source Type
 2. Setting
 3. Branch/Tag (for GitHub repos only)
 4. Use HTTP Basic Authentication (for GitHub repos only)
 5. Import from existing file

Each source type has the following settings associated with it:

 1. None – Don’t auto extract this project.
 2. WordPress.org – the slug for the WordPress.org SVN repo to extract from (for example“
    gp-auto-extract” for this plugin).
 3. GitHub – The user name and repo name on GitHub to extract from (for example “toolstack/
    gp-auto-extract”).
 4. Custom – a complete url to a ZIP file containing the source code to extract from.

Once the setting has be entered, you can save them with the button to the right 
and then run an extract which will update the originals in the given project from
the source selected.

## Installation

Install from the WordPress plugin directory.

## FAQ

### Does the plugin support webhooks for remote repos?

Not yet, the 1.0 release will likely have support for webhooks so the extract can
be executed whenever a remote file changes.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“GP Auto Extract” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)
 *   [ Thiago Benvenuto ](https://profiles.wordpress.org/brazabr/)

[Translate “GP Auto Extract” into your language.](https://translate.wordpress.org/projects/wp-plugins/gp-auto-extract)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/gp-auto-extract/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/gp-auto-extract/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/gp-auto-extract/)
by [RSS](https://plugins.trac.wordpress.org/log/gp-auto-extract/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Release Date: November 6, 2024
 * Fixed: Fatal error for subprojects when auto extract triggered from the front
   end.

#### 1.0

 * Release Date: November 5, 2024
 * Fixed: Missing assets for js/css.
 * Fixed: Various PHP8 deprecation warnings.
 * Fixed: Duplicate function definition in another plugin has already include the
   WP file.php code.

#### 0.9

 * Release Date: October 9, 2024
 * Added: Support for WordPress Themes, thanks @pedro-mendonca.
 * Fixed: Warnings/errors due to create_function() being removed in PHP8.
 * Updated: pomo and extract functions from WP and WP I18N libraries respectively.

#### 0.8

 * Release Date: January 16, 2017
 * Info: Welcome new contributor brazabr!
 * Added: Support for HTTP Basic Authentication for GitHub (thanks brazabr).
 * Added: Option to skip POT generation and import an existing file from repository/
   archive (thanks brazabr).
 * Added: Option to override GitHub branch or tag (thanks brazabr).
 * Updated: UI for editing each project setting (thanks brazabr).

#### 0.7

 * Release Date: January 10, 2017
 * Added: Auto Extract option to the projects menu on the front end.
 * Fixed: Various WP_DEBUG warnings.
 * Fixed: Better handling of corrupt zip files.
 * Fixed: Make sure to remove temporary files.
 * Fixed: Source file references would incorrectly include plugin top level directory,
   thanks @brazabr.

#### 0.6

 * Release Date: March 18, 2016
 * Documentation updates.

= 0.5
 * Release Date: January 28, 2016 * Initial release.

## Meta

 *  Version **1.1**
 *  Last updated **1 year ago**
 *  Active installations **10+**
 *  WordPress version ** 4.4 or higher **
 *  Tested up to **6.6.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/gp-auto-extract/)
 * Tags
 * [glotpress](https://pcd.wordpress.org/plugins/tags/glotpress/)[translation](https://pcd.wordpress.org/plugins/tags/translation/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/gp-auto-extract/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/gp-auto-extract/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gp-auto-extract/reviews/)

## Contributors

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)
 *   [ Thiago Benvenuto ](https://profiles.wordpress.org/brazabr/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/gp-auto-extract/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://toolstack.com/donate)