Title: CSV Format for GlotPress
Author: Pedro Mendonça
Published: <strong>2022年11月21日</strong>
Last modified: 2025年4月18日

---

プラグインを検索

![](https://ps.w.org/gp-format-csv/assets/banner-772x250.png?rev=2822013)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/gp-format-csv/assets/icon-256x256.png?rev=2821655)

# CSV Format for GlotPress

 作者: [Pedro Mendonça](https://profiles.wordpress.org/pedromendonca/)

[ダウンロード](https://downloads.wordpress.org/plugin/gp-format-csv.1.0.3.zip)

 * [詳細](https://ja.wordpress.org/plugins/gp-format-csv/#description)
 * [レビュー](https://ja.wordpress.org/plugins/gp-format-csv/#reviews)
 * [開発](https://ja.wordpress.org/plugins/gp-format-csv/#developers)

 [サポート](https://wordpress.org/support/plugin/gp-format-csv/)

## 説明

Adds the CSV format to GlotPress to export/import translations and originals.

This allows you to export a translation set to a CSV file, and use this to import
the translations or originals into the project.

This plugin is properly prepared for localization.

### The CSV Format

The CSV output has values separated by `,` and enclosured by `" "`.

The total number of columns depends on the number of Plural Forms of the exported
Locale.

For an sample file, please check out [example.csv](https://github.com/pedro-mendonca/GP-Format-CSV/blob/main/example.csv).

The header columns for the different translations have the `Translation (<plural-
form>)` naming convention, being the Plural Forms depending on each exported Locale.

See the example below for a **Portuguese** CSV export, which has `2` plural forms.

#### The exported CSV in plain text

    ```
    "Context","Singular","Plural","Comments","References","Translation (Singular)","Translation (Plural)"
    "","Singular in English.","","Comment 1.\nComment 2.","","Singular em Português.",""
    ```

#### The main columns

The 5 main columns are `Context`, `Singular`, `Plural`, `Comments` and `References`.

#### The Plural Forms variable columns

The number of Plural Forms columns may vary depending on each Locale setting.

Check the below table for examples of [GlotPress Locales](https://github.com/GlotPress/GlotPress/blob/develop/locales/locales.php)
from 1 to 6 Plural Forms.

### Included filters

The `gp_format_csv_header` allows you to add, remove or customize items from the
CSV header.

The `gp_format_csv_row` allows you to add, remove or customize items from the CSV
row.

### Usage

#### Export translations to CSV

 1. Go to the bottom of the translation table.
 2. Select `CSV (.csv)`.
 3. Click on the `Export` link to download the CSV file.

#### Import translations from CSV

 1. Go to the bottom of the translation table.
 2. Click on the `Import Translations` link.
 3. Select the CSV file to upload, the `Format` is _Auto Detected_.
 4. Click on the `Import` button.

#### Import originals from CSV

 1. Go to the project page.
 2. On the project actions click on the `Import Originals` link.
 3. Select the CSV file to upload, the `Format` is _Auto Detected_.
 4. Click on the `Import` button.

## FAQ

### Can I help translating this plugin to my own language?

Yes you can! If you want to translate this plugin to your language, please [click here](https://translate.wordpress.org/projects/wp-plugins/gp-format-csv).

### Can I contribute to this plugin?

Sure! You are welcome to report any issues or add feature suggestions on the [GitHub repository](https://github.com/pedro-mendonca/GP-Format-CSV).

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

CSV Format for GlotPress はオープンソースソフトウェアです。以下の人々がこのプラグ
インに貢献しています。

貢献者

 *   [ Pedro Mendonça ](https://profiles.wordpress.org/pedromendonca/)

“CSV Format for GlotPress” は6ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/gp-format-csv/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“CSV Format for GlotPress” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/gp-format-csv)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/gp-format-csv/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/gp-format-csv/)をチェックする
か、[開発ログ](https://plugins.trac.wordpress.org/log/gp-format-csv/)を [RSS](https://plugins.trac.wordpress.org/log/gp-format-csv/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### Unreleased

 * Tested with WordPress 6.8.

#### 1.0.3

 * Require WP 5.1.
 * Tested with WordPress 6.6.
 * Tested with GlotPress 4.0.1.
 * Tested with PHP 8.3.
 * Removed Git Updater forbiden plugin header.
 * Fix docblock type param.
 * Update dependencies.

#### 1.0.2

 * Tested with WordPress 6.5.
 * Tested with GlotPress 4.0.
 * Tested with PHP 8.3.
 * Add WP Plugin Check CI test.
 * Update dependencies.

#### 1.0.1

 * Fix log error message typo. Props @fxbenard.

#### 1.0.0

 * Initial release.
 * All WPCS and PHPStan level 9 verified.

## メタ

 *  バージョン **1.0.3**
 *  最終更新日 **1年前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 5.1またはそれ以降 **
 *  検証済み最新バージョン: **6.6.5**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/gp-format-csv/)、[Dutch (Belgium)](https://nl-be.wordpress.org/plugins/gp-format-csv/)、
   [English (US)](https://wordpress.org/plugins/gp-format-csv/)、[French (France)](https://fr.wordpress.org/plugins/gp-format-csv/)、
   [Italian](https://it.wordpress.org/plugins/gp-format-csv/)、[Polish](https://pl.wordpress.org/plugins/gp-format-csv/)、
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/gp-format-csv/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/gp-format-csv)
 * タグ
 * [csv](https://ja.wordpress.org/plugins/tags/csv/)[glotpress](https://ja.wordpress.org/plugins/tags/glotpress/)
   [i18n](https://ja.wordpress.org/plugins/tags/i18n/)[l10n](https://ja.wordpress.org/plugins/tags/l10n/)
   [WordPress](https://ja.wordpress.org/plugins/tags/wordpress/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/gp-format-csv/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/gp-format-csv/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/gp-format-csv/reviews/)

## 貢献者

 *   [ Pedro Mendonça ](https://profiles.wordpress.org/pedromendonca/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/gp-format-csv/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://github.com/sponsors/pedro-mendonca)