{"id":165792,"date":"2022-11-21T15:12:35","date_gmt":"2022-11-21T15:12:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/csv-format-for-glotpress\/"},"modified":"2025-04-18T22:33:33","modified_gmt":"2025-04-18T22:33:33","slug":"gp-format-csv","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/gp-format-csv\/","author":7333153,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"6.6.5","requires":"5.1","requires_php":"7.4","requires_plugins":null,"header_name":"CSV Format for GlotPress","header_author":"Pedro Mendon\u00e7a","header_description":"Adds the CSV format to GlotPress to export and import translations.","assets_banners_color":"8173b3","last_updated":"2025-04-18 22:33:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/pedro-mendonca","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/gp-format-csv\/","header_author_uri":"https:\/\/profiles.wordpress.org\/pedromendonca\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2109,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"pedromendonca","date":"2022-11-21 16:37:49"},"1.0.1":{"tag":"1.0.1","author":"pedromendonca","date":"2024-03-22 09:59:54"},"1.0.2":{"tag":"1.0.2","author":"pedromendonca","date":"2024-10-17 11:38:12"},"1.0.3":{"tag":"1.0.3","author":"pedromendonca","date":"2025-04-18 22:33:33"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2821655,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2821655,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2822013,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2822013,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[567,32555,104,1984,129180],"plugin_category":[48],"plugin_contributors":[87581],"plugin_business_model":[],"class_list":["post-165792","plugin","type-plugin","status-publish","hentry","plugin_tags-csv","plugin_tags-glotpress","plugin_tags-i18n","plugin_tags-l10n","plugin_tags-wordpress","plugin_category-language-tools","plugin_contributors-pedromendonca","plugin_committers-pedromendonca","plugin_support_reps-pedromendonca"],"banners":{"banner":"https:\/\/ps.w.org\/gp-format-csv\/assets\/banner-772x250.png?rev=2822013","banner_2x":"https:\/\/ps.w.org\/gp-format-csv\/assets\/banner-1544x500.png?rev=2822013","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gp-format-csv\/assets\/icon-128x128.png?rev=2821655","icon_2x":"https:\/\/ps.w.org\/gp-format-csv\/assets\/icon-256x256.png?rev=2821655","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds the CSV format to GlotPress to export\/import translations and originals.<\/p>\n\n<p>This allows you to export a translation set to a CSV file, and use this to import the translations or originals into the project.<\/p>\n\n<p>This plugin is properly prepared for localization.<\/p>\n\n<h3>The CSV Format<\/h3>\n\n<p>The CSV output has values separated by <code>,<\/code> and enclosured by <code>\" \"<\/code>.<\/p>\n\n<p>The total number of columns depends on the number of Plural Forms of the exported Locale.<\/p>\n\n<p>For an sample file, please check out <a href=\"https:\/\/github.com\/pedro-mendonca\/GP-Format-CSV\/blob\/main\/example.csv\">example.csv<\/a>.<\/p>\n\n<p>The header columns for the different translations have the <code>Translation (&lt;plural-form&gt;)<\/code> naming convention, being the Plural Forms depending on each exported Locale.<\/p>\n\n<p>See the example below for a <strong>Portuguese<\/strong> CSV export, which has <code>2<\/code> plural forms.<\/p>\n\n<h4>The exported CSV in plain text<\/h4>\n\n<pre><code>\"Context\",\"Singular\",\"Plural\",\"Comments\",\"References\",\"Translation (Singular)\",\"Translation (Plural)\"\n\"\",\"Singular in English.\",\"\",\"Comment 1.\\nComment 2.\",\"\",\"Singular em Portugu\u00eas.\",\"\"\n<\/code><\/pre>\n\n<h4>The main columns<\/h4>\n\n<p>The 5 main columns are <code>Context<\/code>, <code>Singular<\/code>, <code>Plural<\/code>, <code>Comments<\/code> and <code>References<\/code>.<\/p>\n\n<h4>The Plural Forms variable columns<\/h4>\n\n<p>The number of Plural Forms columns may vary depending on each Locale setting.<\/p>\n\n<p>Check the below table for examples of <a href=\"https:\/\/github.com\/GlotPress\/GlotPress\/blob\/develop\/locales\/locales.php\">GlotPress Locales<\/a> from 1 to 6 Plural Forms.<\/p>\n\n<h3>Included filters<\/h3>\n\n<p>The <code>gp_format_csv_header<\/code> allows you to add, remove or customize items from the CSV header.<\/p>\n\n<p>The <code>gp_format_csv_row<\/code> allows you to add, remove or customize items from the CSV row.<\/p>\n\n<h3>Usage<\/h3>\n\n<h4>Export translations to CSV<\/h4>\n\n<ol>\n<li>Go to the bottom of the translation table.<\/li>\n<li>Select <code>CSV (.csv)<\/code>.<\/li>\n<li>Click on the <code>Export<\/code> link to download the CSV file.<\/li>\n<\/ol>\n\n<h4>Import translations from CSV<\/h4>\n\n<ol>\n<li>Go to the bottom of the translation table.<\/li>\n<li>Click on the <code>Import Translations<\/code> link.<\/li>\n<li>Select the CSV file to upload, the <code>Format<\/code> is <em>Auto Detected<\/em>.<\/li>\n<li>Click on the <code>Import<\/code> button.<\/li>\n<\/ol>\n\n<h4>Import originals from CSV<\/h4>\n\n<ol>\n<li>Go to the project page.<\/li>\n<li>On the project actions click on the <code>Import Originals<\/code> link.<\/li>\n<li>Select the CSV file to upload, the <code>Format<\/code> is <em>Auto Detected<\/em>.<\/li>\n<li>Click on the <code>Import<\/code> button.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20help%20translating%20this%20plugin%20to%20my%20own%20language%3F'><h3>Can I help translating this plugin to my own language?<\/h3><\/dt>\n<dd><p>Yes you can! If you want to translate this plugin to your language, please <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/gp-format-csv\">click here<\/a>.<\/p><\/dd>\n<dt id='can%20i%20contribute%20to%20this%20plugin%3F'><h3>Can I contribute to this plugin?<\/h3><\/dt>\n<dd><p>Sure! You are welcome to report any issues or add feature suggestions on the <a href=\"https:\/\/github.com\/pedro-mendonca\/GP-Format-CSV\">GitHub repository<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Unreleased<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.8.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Require WP 5.1.<\/li>\n<li>Tested with WordPress 6.6.<\/li>\n<li>Tested with GlotPress 4.0.1.<\/li>\n<li>Tested with PHP 8.3.<\/li>\n<li>Removed Git Updater forbiden plugin header.<\/li>\n<li>Fix docblock type param.<\/li>\n<li>Update dependencies.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.5.<\/li>\n<li>Tested with GlotPress 4.0.<\/li>\n<li>Tested with PHP 8.3.<\/li>\n<li>Add WP Plugin Check CI test.<\/li>\n<li>Update dependencies.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix log error message typo. Props @fxbenard.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>All WPCS and PHPStan level 9 verified.<\/li>\n<\/ul>","raw_excerpt":"Adds the CSV format to GlotPress to export\/import translations and originals.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/165792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=165792"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pedromendonca"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=165792"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=165792"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=165792"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=165792"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=165792"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=165792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}