该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

GP Bulk Download Translations

描述

A plugin for GlotPress as a WordPress plugin that downloads all translation sets for a project as a single zip file.

安装

Install from the WordPress plugin directory.

By default PO files will be exported, you can set which formats will be exported by adding the following line to your wp-config.php file (only include those lines for the formats you wish to export):

define( 'GP_BULK_DOWNLOAD_TRANSLATIONS_FORMAT_PO', true );
define( 'GP_BULK_DOWNLOAD_TRANSLATIONS_FORMAT_MO', true );
define( 'GP_BULK_DOWNLOAD_TRANSLATIONS_FORMAT_ANDROID', true );
define( 'GP_BULK_DOWNLOAD_TRANSLATIONS_FORMAT_RESX', true );
define( 'GP_BULK_DOWNLOAD_TRANSLATIONS_FORMAT_STRINGS', true );

Note: If you have custom formats defined you can use 'GP_BULK_DOWNLOAD_TRANSLATIONS_FORMAT_[SLUG]' to include them (SLUG must be in upper case and any dashes replaced with underscores).

You can also define the temporary directory to use by adding the following line to your gp-config.php file:

define( 'GP_BULK_DOWNLOAD_TRANSLATIONS_TEMP_DIR', 'c:/temp' );

Note: Do not include a trailing slash.

常见问题

TBD

TBD

评价

此插件暂无评价。

贡献者及开发者

“GP Bulk Download Translations” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1

  • Release date: June 20, 2016
  • Renamed main plugin file.
  • Fixed gp_export_translations_filename filter passing an incorrect parameter, thanks DavidAnderson684.
  • Fixed incorrect locale parameter being passed to export code.
  • Updated file generation code to it’s own function to allow for other plugins to use it.

1.0

  • Release date: March 18, 2016
  • Official 1.0 release and some minor documentation updates.

0.6

  • Release date: January 15, 2016
  • Fixed use of filter for file names.

0.5

  • Release date: December 14, 2015
  • Initial release.