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

GP Live Export

描述

Convert your WordPress site into all-in-one translation toolkit with editor and preview sandbox. GlotPress plugin required.

This plugin allows you to export and save translations from GlotPress directly to the site language directory (wp-content/languages) by one click from WordPress dashboard, so that you can review translations on actual applied place while editing translation.

屏幕截图

  • Demo – applying translations for strings “New Paragraph” and “Paragraph” on Gutenberg. Add translation on GlotPress then export translation file from GP live export screen.

安装

  1. Install and activate GlotPress plugin through the ‘Plugins’ screen in WordPress.
  2. Install and activate GP Live Export plugin through the ‘Plugins’ screen in WordPress.
  3. Install and activate any WordPress theme/plugin you desire to translate.
  4. Access [home_url]/glotpress/ and setup some project / translation set.

常见问题

Installation Instructions
  1. Install and activate GlotPress plugin through the ‘Plugins’ screen in WordPress.
  2. Install and activate GP Live Export plugin through the ‘Plugins’ screen in WordPress.
  3. Install and activate any WordPress theme/plugin you desire to translate.
  4. Access [home_url]/glotpress/ and setup some project / translation set.
How can I translate WordPress themes & plugins?

Set up project as below:

  1. Add a new parent project. For plugins, add a name as Plugins and a slug as wp-plugins. For themes, add a name as Themes and a slug as wp-themes. That setting will work to find right directory when exporting .po and .mo files.
  2. Add a new project, input theme/plugin name and slug as same as actual plugin and assign parent project.
  3. Import original strings by any way. Upload .pot file or use any import plugin.
  4. Set translation set. Select locale which you’d like to translate. Click use as name and leave a slug field as default.
  5. Translate any string.
  6. Now you can use live export from GP live export option page.
How can I translate WordPress core?

Please wait for future updates!

How can I contribute to the plugin?

Drop by the GitHub repository!

评价

阅读所有1条评价

贡献者及开发者

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

贡献者

「GP Live Export」插件已被翻译至 4 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“GP Live Export”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

  • initial release.

0.2

  • Fix is_plugin_active error.

0.3

  • Add instruction for seting up first project.
  • Add translation set support.

0.3.1

  • Export files with WordPress locale (wp_locale) props @pedromendonca