Translating a ClassicPress plugin with GlotPress: Import translations

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin which is part of the Translating a ClassicPress plugin series.

If translations have been created outside of GlotPress, perhaps by a user of your plugin, they can be imported into GlotPress. Do this by opening the project, selecting the translation set you want to update and then clicking Import Translations.

Choose your file to import, set the Format and click Import:

Import Translations page

Continue reading “Translating a ClassicPress plugin with GlotPress: Import translations”

Translating a ClassicPress plugin with GlotPress: Create new translation set

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin with GlotPress which is part of the Translating a ClassicPress plugin with GlotPress series.

GlotPress allows plugins or themes to be translated into many different languages. To translate the text, you need to create a new translation set. TO do this, open the project, expand the project actions and select New Translation Set:

Create new translation set

Continue reading “Translating a ClassicPress plugin with GlotPress: Create new translation set”

Translating a ClassicPress plugin with GlotPress: Import translation template

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin with GlotPress which is part of the Translating a ClassicPress plugin with GlotPress series.

With the project created, the template file can be imported. Load the project and expand the Project axctions; click Import Originals:

Project import originals

Continue reading “Translating a ClassicPress plugin with GlotPress: Import translation template”

Translating a ClassicPress plugin with GlotPress: Create a project

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin with GlotPress which is part of the Translating a ClassicPress plugin with GlotPress series.

With GlotPress installed, the next step is to create a project. Do this by navigating to the GlotPress page on the site with the plugin installed. The URL will be https://{yourdomain}/glotpress/ (switch out the highlighted section for your websites URL.

Click the Create a New Project link:

GlotPress Projects page

Continue reading “Translating a ClassicPress plugin with GlotPress: Create a project”

Translating a ClassicPress plugin with GlotPress: Creating administrators

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin which is part of the Translating a ClassicPress plugin series.

Wth the GlotPress plugin installed, it is now availabe for use. Anyone can create a translation set, but users can be designated as administrators and have the ability to administer projects. Before we create a project, we’ll take a quick diversion to create an administrator.

Do this by editing a user; if you scroll down to the bottom of their profile, there is a GlotPress section under which you can mark the Grant this user administrative privileges in GlotPress:

Edit user profile

Translating a ClassicPress plugin

Translating a ClassicPress plugin
What is Internationalization and Localization?
Why is Internationalization and Localization important?
When should a plugin be internationalized?
Internationalizing a ClassicPress plugin: How does internationalization work?
Internationalizing a ClassicPress plugin: What is a Text Domain and how is it specified?
Internationalizing a ClassicPress plugin: Localization functions
Internationalizing a ClassicPress plugin: Which localization functions to use?
Internationalizing a ClassicPress plugin: Localizing a string
Internationalizing a ClassicPress plugin: Don't paramaterize your text domain
Internationalizing a ClassicPress plugin: Localizing a string containing a parameter
Internationalizing a ClassicPress plugin: Localizing a string including plurals
Internationalizing a ClassicPress plugin: Localizing a string including notes for the translator
Internationalizing a ClassicPress plugin: Don't include HTML markup in localization
Internationalizing a ClassicPress plugin: Don't localize URLs
Internationalizing a ClassicPress plugin: Localizing a string including line breaks
Internationalizing a ClassicPress plugin: Load plugin translations
Translating a ClassicPress plugin with Poedit: What is Poedit?
Translating a ClassicPress plugin with Poedit: Download Poedit
Translating a ClassicPress plugin with Poedit: Install Poedit
Translating a ClassicPress plugin with Poedit: Create New Translation Template
Translating a ClassicPress plugin with Poedit: Create Translations
Translating a ClassicPress plugin with GlotPress: What is GlotPress?
Translating a ClassicPress plugin with GlotPress: Download and install GlotPress
Translating a ClassicPress plugin with GlotPress: Creating administrators
Translating a ClassicPress plugin with GlotPress: Create a project
Translating a ClassicPress plugin with GlotPress: Import translation template
Translating a ClassicPress plugin with GlotPress: Import translations
Translating a ClassicPress plugin with GlotPress: Create new translation set
Translating a ClassicPress plugin with GlotPress: Export translations
Translating a ClassicPress plugin with GlotPress
What is GlotPress?
Download and install GlotPress
Creating administrators
Create a project
Import translation template
Import translations
Create new translation set
Export translations

Translating a ClassicPress plugin with GlotPress: Download and install GlotPress

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin which is part of the Translating a ClassicPress plugin series.

The plugin version of GlotPress is easy to install on ClassicPress; on the ClassicPress site it is to be installed into, navigate to the Add New page of the Plugins.

Enter glotpress in the search field; the first result should be the plugin, so click the Install Now button:

Add Plugins page showing the GlotPress plugin ready for install

Continue reading “Translating a ClassicPress plugin with GlotPress: Download and install GlotPress”

Translating a ClassicPress plugin with GlotPress: What is GlotPress?

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin with GlotPress which is part of the Translating a ClassicPress plugin with GlotPress series. In the previous part of the wider series, I blogged about using PO Edit to translate a plugin.

PO Edit is not the only tool available for translating a ClassicPress plugin; there is another one called GlotPress. I tend to view PO Edit as a tool for one person to create translation sets for ClassicPress, although it does support collaboration. GlotPress on the other hand is intended for the collaborative translations of plugins and themes.

GlotPress comes in two flavours:

  1. Standalone website
  2. Plugin

The plugin works with both ClassicPress and WordPress and can also be used to translate any software which uses gettext. Over the course of this series, I will be looking at the plugin version of GlotPress.

Translating a ClassicPress plugin

Translating a ClassicPress plugin
What is Internationalization and Localization?
Why is Internationalization and Localization important?
When should a plugin be internationalized?
Internationalizing a ClassicPress plugin: How does internationalization work?
Internationalizing a ClassicPress plugin: What is a Text Domain and how is it specified?
Internationalizing a ClassicPress plugin: Localization functions
Internationalizing a ClassicPress plugin: Which localization functions to use?
Internationalizing a ClassicPress plugin: Localizing a string
Internationalizing a ClassicPress plugin: Don't paramaterize your text domain
Internationalizing a ClassicPress plugin: Localizing a string containing a parameter
Internationalizing a ClassicPress plugin: Localizing a string including plurals
Internationalizing a ClassicPress plugin: Localizing a string including notes for the translator
Internationalizing a ClassicPress plugin: Don't include HTML markup in localization
Internationalizing a ClassicPress plugin: Don't localize URLs
Internationalizing a ClassicPress plugin: Localizing a string including line breaks
Internationalizing a ClassicPress plugin: Load plugin translations
Translating a ClassicPress plugin with Poedit: What is Poedit?
Translating a ClassicPress plugin with Poedit: Download Poedit
Translating a ClassicPress plugin with Poedit: Install Poedit
Translating a ClassicPress plugin with Poedit: Create New Translation Template
Translating a ClassicPress plugin with Poedit: Create Translations
Translating a ClassicPress plugin with GlotPress: What is GlotPress?
Translating a ClassicPress plugin with GlotPress: Download and install GlotPress
Translating a ClassicPress plugin with GlotPress: Creating administrators
Translating a ClassicPress plugin with GlotPress: Create a project
Translating a ClassicPress plugin with GlotPress: Import translation template
Translating a ClassicPress plugin with GlotPress: Import translations
Translating a ClassicPress plugin with GlotPress: Create new translation set
Translating a ClassicPress plugin with GlotPress: Export translations
Translating a ClassicPress plugin with GlotPress
What is GlotPress?
Download and install GlotPress
Creating administrators
Create a project
Import translation template
Import translations
Create new translation set
Export translations

Translating a ClassicPress plugin with GlotPress: Series Index

ClassicPress PluginsAs part of my wider series on Translating a ClassicPress plugin with GlotPress, I am taking a look at the ways in which a plugin is internationalized and localized.

The second method of translating a plugin I am going to look at is GlotPress; this is a web app intended for collaboration on translations. It is used by the ClassicPress project itself.

Translating a ClassicPress plugin

Translating a ClassicPress plugin
What is Internationalization and Localization?
Why is Internationalization and Localization important?
When should a plugin be internationalized?
Internationalizing a ClassicPress plugin: How does internationalization work?
Internationalizing a ClassicPress plugin: What is a Text Domain and how is it specified?
Internationalizing a ClassicPress plugin: Localization functions
Internationalizing a ClassicPress plugin: Which localization functions to use?
Internationalizing a ClassicPress plugin: Localizing a string
Internationalizing a ClassicPress plugin: Don't paramaterize your text domain
Internationalizing a ClassicPress plugin: Localizing a string containing a parameter
Internationalizing a ClassicPress plugin: Localizing a string including plurals
Internationalizing a ClassicPress plugin: Localizing a string including notes for the translator
Internationalizing a ClassicPress plugin: Don't include HTML markup in localization
Internationalizing a ClassicPress plugin: Don't localize URLs
Internationalizing a ClassicPress plugin: Localizing a string including line breaks
Internationalizing a ClassicPress plugin: Load plugin translations
Translating a ClassicPress plugin with Poedit: What is Poedit?
Translating a ClassicPress plugin with Poedit: Download Poedit
Translating a ClassicPress plugin with Poedit: Install Poedit
Translating a ClassicPress plugin with Poedit: Create New Translation Template
Translating a ClassicPress plugin with Poedit: Create Translations
Translating a ClassicPress plugin with GlotPress: What is GlotPress?
Translating a ClassicPress plugin with GlotPress: Download and install GlotPress
Translating a ClassicPress plugin with GlotPress: Creating administrators
Translating a ClassicPress plugin with GlotPress: Create a project
Translating a ClassicPress plugin with GlotPress: Import translation template
Translating a ClassicPress plugin with GlotPress: Import translations
Translating a ClassicPress plugin with GlotPress: Create new translation set
Translating a ClassicPress plugin with GlotPress: Export translations
Translating a ClassicPress plugin with GlotPress
What is GlotPress?
Download and install GlotPress
Creating administrators
Create a project
Import translation template
Import translations
Create new translation set
Export translations

Translating a ClassicPress plugin with Poedit: Create Translations

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin with Poedit which is part of the Translating a ClassicPress plugin with Poedit series.

With a translation template created, people can now use it to translate into other languages, which is what I am going to cover in this post.

Launch Poedit and click on the large Create new translation button on the main screen:

Poedit

Continue reading “Translating a ClassicPress plugin with Poedit: Create Translations”

Translating a ClassicPress plugin with Poedit: Create New Translation Template

ClassicPress PluginsThis post is part of the sub-series on Translating a ClassicPress plugin with Poedit which is part of the Translating a ClassicPress plugin with Poedit series.

With Pedit installed we can use it to localise a ClassicPress plugin.

The first to doing this is to create a template. As I am using the free version I cannot use the Translate WordPress theme or plug-in option, so click the (File menu) and select (New…):

Continue reading “Translating a ClassicPress plugin with Poedit: Create New Translation Template”