浏览代码

studiou-wc-product-cat-manage: add translation support

Dalibor Votruba 1 年之前
父节点
当前提交
3436f6231a

+ 4 - 0
studiou-wc-product-cat-manage/directory-structure.txt

@@ -9,6 +9,10 @@ studiou-wc-product-cat-manage/
 │   ├── class-studiou-wc-product-cat-manage-export.php
 │   ├── class-studiou-wc-product-cat-manage-import.php
 │   └── class-studiou-wc-product-cat-manage-manipulator.php
+├── languages/
+│   ├── studiou-wc-product-cat-manage.pot
+│   ├── studiou-wc-product-cat-manage-cs_CZ.po
+│   └── studiou-wc-product-cat-manage-cs_CZ.mo
 ├── views/
 │   ├── import.php
 │   ├── export.php

+ 409 - 0
studiou-wc-product-cat-manage/languages/studiou-wc-product-cat-manage-cs_CZ.po

@@ -0,0 +1,409 @@
+# Czech translation for QDR - Studiou WC Export/Import Product Categories
+# Copyright (C) 2025 QDR - Studiou WC Export/Import Product Categories
+# This file is distributed under the same license as the QDR - Studiou WC Export/Import Product Categories package.
+msgid ""
+msgstr ""
+"Project-Id-Version: QDR - Studiou WC Export/Import Product Categories 1.2.0\n"
+"Report-Msgid-Bugs-To: https://www.quadarax.com/plugins/studiou-wc-product-cat-manage\n"
+"POT-Creation-Date: 2025-05-15 12:00+0000\n"
+"PO-Revision-Date: 2025-05-15 12:00+0000\n"
+"Last-Translator: Dalibor Votruba <info@quadarax.com>\n"
+"Language-Team: Czech\n"
+"Language: cs_CZ\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. Plugin Name
+msgid "QDR - Studiou WC Export/Import Product Categories"
+msgstr "QDR - Studiou WC Export/Import Product Categories"
+
+#. Plugin URI
+msgid "https://www.quadarax.com/plugins/studiou-wc-product-cat-manage"
+msgstr "https://www.quadarax.com/plugins/studiou-wc-product-cat-manage"
+
+#. Description
+msgid "Allows batch import and export WooCommerce product categories"
+msgstr "Umožňuje hromadný import a export kategorií produktů WooCommerce"
+
+#. Author
+msgid "Dalibor Votruba"
+msgstr "Dalibor Votruba"
+
+#. Author URI
+msgid "https://www.quadarax.com"
+msgstr "https://www.quadarax.com"
+
+#: studiou-wc-product-cat-manage.php:86
+msgid "QDR - Studiou WC Export/Import Product Categories requires WooCommerce version 9.8 or higher. Please %sinstall or update WooCommerce%s."
+msgstr "QDR - Studiou WC Export/Import Product Categories vyžaduje WooCommerce verze 9.8 nebo vyšší. Prosím %snainstalujte nebo aktualizujte WooCommerce%s."
+
+#: studiou-wc-product-cat-manage.php:102
+#: views/import.php:14
+msgid "Import Product Categories"
+msgstr "Import kategorií produktů"
+
+#: studiou-wc-product-cat-manage.php:109
+#: views/export.php:14
+msgid "Export Product Categories"
+msgstr "Export kategorií produktů"
+
+#: studiou-wc-product-cat-manage.php:116
+#: views/manipulations.php:19
+msgid "Category Manipulations"
+msgstr "Manipulace s kategoriemi"
+
+#: studiou-wc-product-cat-manage.php:142
+msgid "Import successful"
+msgstr "Import úspěšný"
+
+#: studiou-wc-product-cat-manage.php:143
+msgid "Import error"
+msgstr "Chyba importu"
+
+#: studiou-wc-product-cat-manage.php:144
+msgid "Export successful"
+msgstr "Export úspěšný"
+
+#: studiou-wc-product-cat-manage.php:145
+msgid "Export error"
+msgstr "Chyba exportu"
+
+#: studiou-wc-product-cat-manage.php:146
+msgid "Move operation successful"
+msgstr "Operace přesunu úspěšná"
+
+#: studiou-wc-product-cat-manage.php:147
+msgid "Move operation error"
+msgstr "Chyba operace přesunu"
+
+#: studiou-wc-product-cat-manage.php:148
+msgid "Please select different source and target categories"
+msgstr "Prosím vyberte rozdílné zdrojové a cílové kategorie"
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:128
+msgid "Product category '%s' already exists. Skipped."
+msgstr "Kategorie produktu '%s' již existuje. Přeskočeno."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:141
+msgid "Parent category '%s' not found."
+msgstr "Nadřazená kategorie '%s' nebyla nalezena."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:170
+msgid "Product category '%s' created."
+msgstr "Kategorie produktu '%s' vytvořena."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:185
+#: includes/class-studiou-wc-product-cat-manage-db.php:219
+msgid "Product category '%s' not found."
+msgstr "Kategorie produktu '%s' nebyla nalezena."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:201
+msgid "Parent category '%s' not found."
+msgstr "Nadřazená kategorie '%s' nebyla nalezena."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:230
+msgid "Product category '%s' updated."
+msgstr "Kategorie produktu '%s' aktualizována."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:245
+msgid "Product category '%s' not found."
+msgstr "Kategorie produktu '%s' nebyla nalezena."
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:262
+msgid "Product category '%s' deleted."
+msgstr "Kategorie produktu '%s' smazána."
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:43
+#: includes/class-studiou-wc-product-cat-manage-import.php:60
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:39
+msgid "Security check failed"
+msgstr "Bezpečnostní kontrola selhala"
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:49
+#: includes/class-studiou-wc-product-cat-manage-import.php:66
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:45
+msgid "You do not have sufficient permissions"
+msgstr "Nemáte dostatečná oprávnění"
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:64
+msgid "Product categories exported successfully"
+msgstr "Kategorie produktů úspěšně exportovány"
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:78
+#: includes/class-studiou-wc-product-cat-manage-export.php:86
+msgid "You do not have sufficient permissions"
+msgstr "Nemáte dostatečná oprávnění"
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:92
+msgid "Export file not found. Please try exporting again."
+msgstr "Soubor exportu nebyl nalezen. Prosím zkuste exportovat znovu."
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:141
+msgid "Failed to write export file"
+msgstr "Nepodařilo se zapsat soubor exportu"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:72
+msgid "No file was uploaded"
+msgstr "Žádný soubor nebyl nahrán"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:83
+msgid "Import error: %s"
+msgstr "Chyba importu: %s"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:102
+msgid "Failed to open the uploaded file"
+msgstr "Nepodařilo se otevřít nahraný soubor"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:116
+msgid "Failed to read CSV headers"
+msgstr "Nepodařilo se přečíst hlavičky CSV"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:162
+msgid "Error at row %d: %s"
+msgstr "Chyba na řádku %d: %s"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:167
+msgid "Invalid operation \"%s\" at row %d"
+msgstr "Neplatná operace \"%s\" na řádku %d"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:186
+msgid "Missing required header: %s"
+msgstr "Chybí požadovaná hlavička: %s"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:201
+msgid "Invalid operation \"%s\" at row %d. Must be one of: A, U, D"
+msgstr "Neplatná operace \"%s\" na řádku %d. Musí být jedna z: A, U, D"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:210
+msgid "Missing required field \"name\" at row %d"
+msgstr "Chybí požadované pole \"name\" na řádku %d"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:218
+msgid "Missing required field \"url-name\" at row %d"
+msgstr "Chybí požadované pole \"url-name\" na řádku %d"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:227
+msgid "Invalid display type \"%s\" at row %d. Must be one of: default, products, subcategories, both"
+msgstr "Neplatný typ zobrazení \"%s\" na řádku %d. Musí být jeden z: default, products, subcategories, both"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:237
+msgid "Invalid visibility \"%s\" at row %d. Must be one of: public, protected"
+msgstr "Neplatná viditelnost \"%s\" na řádku %d. Musí být jedna z: public, protected"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:245
+msgid "Protected visibility requires at least one password at row %d"
+msgstr "Chráněná viditelnost vyžaduje alespoň jedno heslo na řádku %d"
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:259
+msgid "No items were processed."
+msgstr "Žádné položky nebyly zpracovány."
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:263
+msgid "Imported %d items:"
+msgstr "Importováno %d položek:"
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:51
+msgid "Missing required parameters"
+msgstr "Chybí požadované parametry"
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:61
+msgid "Source and target categories must be different"
+msgstr "Zdrojová a cílová kategorie musí být rozdílné"
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:66
+msgid "Invalid category selection"
+msgstr "Neplatný výběr kategorie"
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:80
+msgid "Error during move operation: %s"
+msgstr "Chyba během operace přesunu: %s"
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:96
+msgid "Invalid category specified"
+msgstr "Zadána neplatná kategorie"
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:144
+msgid "Moved %d products from \"%s\" to \"%s\". Source category now has %d products, target category now has %d products."
+msgstr "Přesunuto %d produktů z \"%s\" do \"%s\". Zdrojová kategorie nyní má %d produktů, cílová kategorie nyní má %d produktů."
+
+#: views/export.php:17
+msgid "Export to CSV"
+msgstr "Export do CSV"
+
+#: views/export.php:19
+msgid "Export your product categories to a CSV file. The export will include all product categories with their properties."
+msgstr "Exportujte kategorie produktů do CSV souboru. Export bude obsahovat všechny kategorie produktů s jejich vlastnostmi."
+
+#: views/export.php:21
+msgid "The exported CSV file will have the following columns:"
+msgstr "Exportovaný CSV soubor bude mít následující sloupce:"
+
+#: views/export.php:24
+msgid "Product Category Name"
+msgstr "Název kategorie produktu"
+
+#: views/export.php:25
+msgid "Product Category URL part name (slug)"
+msgstr "URL část názvu kategorie produktu (slug)"
+
+#: views/export.php:26
+msgid "Reference to parent Product Category Name (If has no parent, value is empty)"
+msgstr "Odkaz na název nadřazené kategorie produktu (Pokud nemá nadřazenou, hodnota je prázdná)"
+
+#: views/export.php:27
+msgid "Product Category description"
+msgstr "Popis kategorie produktu"
+
+#: views/export.php:28
+msgid "Product Category display type"
+msgstr "Typ zobrazení kategorie produktu"
+
+#: views/export.php:29
+msgid "Product Category visibility"
+msgstr "Viditelnost kategorie produktu"
+
+#: views/export.php:30
+msgid "Protected category passwords"
+msgstr "Hesla chráněné kategorie"
+
+#: views/export.php:31
+msgid "Default is \"U\" (update) for all exported categories"
+msgstr "Výchozí je \"U\" (aktualizace) pro všechny exportované kategorie"
+
+#: views/export.php:37
+msgid "Export Product Categories"
+msgstr "Exportovat kategorie produktů"
+
+#: views/export.php:43
+msgid "Export Complete"
+msgstr "Export dokončen"
+
+#: views/export.php:47
+msgid "Download CSV File"
+msgstr "Stáhnout CSV soubor"
+
+#: views/import.php:17
+msgid "Import from CSV"
+msgstr "Import z CSV"
+
+#: views/import.php:19
+msgid "Import product categories from a CSV file. The file should have the following columns:"
+msgstr "Importujte kategorie produktů z CSV souboru. Soubor by měl mít následující sloupce:"
+
+#: views/import.php:22
+msgid "Product Category Name"
+msgstr "Název kategorie produktu"
+
+#: views/import.php:23
+msgid "Product Category URL part name (slug)"
+msgstr "URL část názvu kategorie produktu (slug)"
+
+#: views/import.php:24
+msgid "Reference to parent Product Category Name (If has no parent, value is empty)"
+msgstr "Odkaz na název nadřazené kategorie produktu (Pokud nemá nadřazenou, hodnota je prázdná)"
+
+#: views/import.php:25
+msgid "Product Category description"
+msgstr "Popis kategorie produktu"
+
+#: views/import.php:26
+msgid "Product Category display type (values: 'default', 'products', 'subcategories', 'both')"
+msgstr "Typ zobrazení kategorie produktu (hodnoty: 'default', 'products', 'subcategories', 'both')"
+
+#: views/import.php:27
+msgid "Product Category visibility (values: 'public', 'protected')"
+msgstr "Viditelnost kategorie produktu (hodnoty: 'public', 'protected')"
+
+#: views/import.php:28
+msgid "Pipe (|) separated list of passwords if visibility is set to 'protected'"
+msgstr "Seznam hesel oddělený rourou (|), pokud je viditelnost nastavena na 'protected'"
+
+#: views/import.php:29
+msgid "Record operation, 'A' - add new, 'D' - delete, 'U' - update"
+msgstr "Operace záznamu, 'A' - přidat nový, 'D' - smazat, 'U' - aktualizovat"
+
+#: views/import.php:32
+msgid "The CSV file should use commas (,) as separators and double quotes (\") around text values. The file encoding must be UTF-8."
+msgstr "CSV soubor by měl používat čárky (,) jako oddělovače a dvojité uvozovky (\") kolem textových hodnot. Kódování souboru musí být UTF-8."
+
+#: views/import.php:36
+msgid "Choose CSV file"
+msgstr "Vyberte CSV soubor"
+
+#: views/import.php:41
+msgid "Import Product Categories"
+msgstr "Importovat kategorie produktů"
+
+#: views/import.php:48
+msgid "Import Results"
+msgstr "Výsledky importu"
+
+#: views/import.php:54
+msgid "Sample CSV Format"
+msgstr "Vzorový formát CSV"
+
+#: views/import.php:64
+msgid "Download Sample CSV"
+msgstr "Stáhnout vzorový CSV"
+
+#: views/manipulations.php:22
+msgid "Move products between categories"
+msgstr "Přesunout produkty mezi kategoriemi"
+
+#: views/manipulations.php:24
+msgid "This operation allows you to move all products from one category to another. Products will be removed from the source category and added to the target category."
+msgstr "Tato operace umožňuje přesunout všechny produkty z jedné kategorie do jiné. Produkty budou odstraněny ze zdrojové kategorie a přidány do cílové kategorie."
+
+#: views/manipulations.php:30
+msgid "Source Category"
+msgstr "Zdrojová kategorie"
+
+#: views/manipulations.php:34
+msgid "-- Select Source Category --"
+msgstr "-- Vyberte zdrojovou kategorii --"
+
+#: views/manipulations.php:40
+msgid "Select the category from which products will be moved."
+msgstr "Vyberte kategorii, ze které budou produkty přesunuty."
+
+#: views/manipulations.php:46
+msgid "Target Category"
+msgstr "Cílová kategorie"
+
+#: views/manipulations.php:50
+msgid "-- Select Target Category --"
+msgstr "-- Vyberte cílovou kategorii --"
+
+#: views/manipulations.php:56
+msgid "Select the category to which products will be moved."
+msgstr "Vyberte kategorii, do které budou produkty přesunuty."
+
+#: views/manipulations.php:63
+msgid "Do"
+msgstr "Provést"
+
+#: views/manipulations.php:70
+msgid "Move Results"
+msgstr "Výsledky přesunu"
+
+#: views/manipulations.php:77
+msgid "Important Notes"
+msgstr "Důležité poznámky"
+
+#: views/manipulations.php:79
+msgid "Products can be assigned to multiple categories. This operation will remove the product from the source category and add it to the target category."
+msgstr "Produkty mohou být přiřazeny k více kategoriím. Tato operace odstraní produkt ze zdrojové kategorie a přidá jej do cílové kategorie."
+
+#: views/manipulations.php:80
+msgid "If a product is only assigned to the source category, it will be moved entirely to the target category."
+msgstr "Pokud je produkt přiřazen pouze ke zdrojové kategorii, bude zcela přesunut do cílové kategorie."
+
+#: views/manipulations.php:81
+msgid "If a product is assigned to multiple categories including the source category, it will remain in the other categories and be moved to the target category."
+msgstr "Pokud je produkt přiřazen k více kategoriím včetně zdrojové kategorie, zůstane v ostatních kategoriích a bude přesunut do cílové kategorie."
+
+#: views/manipulations.php:82
+msgid "The operation processes all products regardless of their status (published, draft, private)."
+msgstr "Operace zpracovává všechny produkty bez ohledu na jejich stav (publikované, koncepty, soukromé)."

+ 408 - 0
studiou-wc-product-cat-manage/languages/studiou-wc-product-cat-manage.po

@@ -0,0 +1,408 @@
+# Copyright (C) 2025 QDR - Studiou WC Export/Import Product Categories
+# This file is distributed under the same license as the QDR - Studiou WC Export/Import Product Categories package.
+msgid ""
+msgstr ""
+"Project-Id-Version: QDR - Studiou WC Export/Import Product Categories 1.2.0\n"
+"Report-Msgid-Bugs-To: https://www.quadarax.com/plugins/studiou-wc-product-cat-manage\n"
+"POT-Creation-Date: 2025-05-15 12:00+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#. Plugin Name
+msgid "QDR - Studiou WC Export/Import Product Categories"
+msgstr ""
+
+#. Plugin URI
+msgid "https://www.quadarax.com/plugins/studiou-wc-product-cat-manage"
+msgstr ""
+
+#. Description
+msgid "Allows batch import and export WooCommerce product categories"
+msgstr ""
+
+#. Author
+msgid "Dalibor Votruba"
+msgstr ""
+
+#. Author URI
+msgid "https://www.quadarax.com"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:86
+msgid "QDR - Studiou WC Export/Import Product Categories requires WooCommerce version 9.8 or higher. Please %sinstall or update WooCommerce%s."
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:102
+#: views/import.php:14
+msgid "Import Product Categories"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:109
+#: views/export.php:14
+msgid "Export Product Categories"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:116
+#: views/manipulations.php:19
+msgid "Category Manipulations"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:142
+msgid "Import successful"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:143
+msgid "Import error"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:144
+msgid "Export successful"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:145
+msgid "Export error"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:146
+msgid "Move operation successful"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:147
+msgid "Move operation error"
+msgstr ""
+
+#: studiou-wc-product-cat-manage.php:148
+msgid "Please select different source and target categories"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:128
+msgid "Product category '%s' already exists. Skipped."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:141
+msgid "Parent category '%s' not found."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:170
+msgid "Product category '%s' created."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:185
+#: includes/class-studiou-wc-product-cat-manage-db.php:219
+msgid "Product category '%s' not found."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:201
+msgid "Parent category '%s' not found."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:230
+msgid "Product category '%s' updated."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:245
+msgid "Product category '%s' not found."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-db.php:262
+msgid "Product category '%s' deleted."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:43
+#: includes/class-studiou-wc-product-cat-manage-import.php:60
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:39
+msgid "Security check failed"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:49
+#: includes/class-studiou-wc-product-cat-manage-import.php:66
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:45
+msgid "You do not have sufficient permissions"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:64
+msgid "Product categories exported successfully"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:78
+#: includes/class-studiou-wc-product-cat-manage-export.php:86
+msgid "You do not have sufficient permissions"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:92
+msgid "Export file not found. Please try exporting again."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-export.php:141
+msgid "Failed to write export file"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:72
+msgid "No file was uploaded"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:83
+msgid "Import error: %s"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:102
+msgid "Failed to open the uploaded file"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:116
+msgid "Failed to read CSV headers"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:162
+msgid "Error at row %d: %s"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:167
+msgid "Invalid operation \"%s\" at row %d"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:186
+msgid "Missing required header: %s"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:201
+msgid "Invalid operation \"%s\" at row %d. Must be one of: A, U, D"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:210
+msgid "Missing required field \"name\" at row %d"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:218
+msgid "Missing required field \"url-name\" at row %d"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:227
+msgid "Invalid display type \"%s\" at row %d. Must be one of: default, products, subcategories, both"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:237
+msgid "Invalid visibility \"%s\" at row %d. Must be one of: public, protected"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:245
+msgid "Protected visibility requires at least one password at row %d"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:259
+msgid "No items were processed."
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-import.php:263
+msgid "Imported %d items:"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:51
+msgid "Missing required parameters"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:61
+msgid "Source and target categories must be different"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:66
+msgid "Invalid category selection"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:80
+msgid "Error during move operation: %s"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:96
+msgid "Invalid category specified"
+msgstr ""
+
+#: includes/class-studiou-wc-product-cat-manage-manipulator.php:144
+msgid "Moved %d products from \"%s\" to \"%s\". Source category now has %d products, target category now has %d products."
+msgstr ""
+
+#: views/export.php:17
+msgid "Export to CSV"
+msgstr ""
+
+#: views/export.php:19
+msgid "Export your product categories to a CSV file. The export will include all product categories with their properties."
+msgstr ""
+
+#: views/export.php:21
+msgid "The exported CSV file will have the following columns:"
+msgstr ""
+
+#: views/export.php:24
+msgid "Product Category Name"
+msgstr ""
+
+#: views/export.php:25
+msgid "Product Category URL part name (slug)"
+msgstr ""
+
+#: views/export.php:26
+msgid "Reference to parent Product Category Name (If has no parent, value is empty)"
+msgstr ""
+
+#: views/export.php:27
+msgid "Product Category description"
+msgstr ""
+
+#: views/export.php:28
+msgid "Product Category display type"
+msgstr ""
+
+#: views/export.php:29
+msgid "Product Category visibility"
+msgstr ""
+
+#: views/export.php:30
+msgid "Protected category passwords"
+msgstr ""
+
+#: views/export.php:31
+msgid "Default is \"U\" (update) for all exported categories"
+msgstr ""
+
+#: views/export.php:37
+msgid "Export Product Categories"
+msgstr ""
+
+#: views/export.php:43
+msgid "Export Complete"
+msgstr ""
+
+#: views/export.php:47
+msgid "Download CSV File"
+msgstr ""
+
+#: views/import.php:17
+msgid "Import from CSV"
+msgstr ""
+
+#: views/import.php:19
+msgid "Import product categories from a CSV file. The file should have the following columns:"
+msgstr ""
+
+#: views/import.php:22
+msgid "Product Category Name"
+msgstr ""
+
+#: views/import.php:23
+msgid "Product Category URL part name (slug)"
+msgstr ""
+
+#: views/import.php:24
+msgid "Reference to parent Product Category Name (If has no parent, value is empty)"
+msgstr ""
+
+#: views/import.php:25
+msgid "Product Category description"
+msgstr ""
+
+#: views/import.php:26
+msgid "Product Category display type (values: 'default', 'products', 'subcategories', 'both')"
+msgstr ""
+
+#: views/import.php:27
+msgid "Product Category visibility (values: 'public', 'protected')"
+msgstr ""
+
+#: views/import.php:28
+msgid "Pipe (|) separated list of passwords if visibility is set to 'protected'"
+msgstr ""
+
+#: views/import.php:29
+msgid "Record operation, 'A' - add new, 'D' - delete, 'U' - update"
+msgstr ""
+
+#: views/import.php:32
+msgid "The CSV file should use commas (,) as separators and double quotes (\") around text values. The file encoding must be UTF-8."
+msgstr ""
+
+#: views/import.php:36
+msgid "Choose CSV file"
+msgstr ""
+
+#: views/import.php:41
+msgid "Import Product Categories"
+msgstr ""
+
+#: views/import.php:48
+msgid "Import Results"
+msgstr ""
+
+#: views/import.php:54
+msgid "Sample CSV Format"
+msgstr ""
+
+#: views/import.php:64
+msgid "Download Sample CSV"
+msgstr ""
+
+#: views/manipulations.php:22
+msgid "Move products between categories"
+msgstr ""
+
+#: views/manipulations.php:24
+msgid "This operation allows you to move all products from one category to another. Products will be removed from the source category and added to the target category."
+msgstr ""
+
+#: views/manipulations.php:30
+msgid "Source Category"
+msgstr ""
+
+#: views/manipulations.php:34
+msgid "-- Select Source Category --"
+msgstr ""
+
+#: views/manipulations.php:40
+msgid "Select the category from which products will be moved."
+msgstr ""
+
+#: views/manipulations.php:46
+msgid "Target Category"
+msgstr ""
+
+#: views/manipulations.php:50
+msgid "-- Select Target Category --"
+msgstr ""
+
+#: views/manipulations.php:56
+msgid "Select the category to which products will be moved."
+msgstr ""
+
+#: views/manipulations.php:63
+msgid "Do"
+msgstr ""
+
+#: views/manipulations.php:70
+msgid "Move Results"
+msgstr ""
+
+#: views/manipulations.php:77
+msgid "Important Notes"
+msgstr ""
+
+#: views/manipulations.php:79
+msgid "Products can be assigned to multiple categories. This operation will remove the product from the source category and add it to the target category."
+msgstr ""
+
+#: views/manipulations.php:80
+msgid "If a product is only assigned to the source category, it will be moved entirely to the target category."
+msgstr ""
+
+#: views/manipulations.php:81
+msgid "If a product is assigned to multiple categories including the source category, it will remain in the other categories and be moved to the target category."
+msgstr ""
+
+#: views/manipulations.php:82
+msgid "The operation processes all products regardless of their status (published, draft, private)."
+msgstr ""

+ 14 - 0
studiou-wc-product-cat-manage/studiou-wc-product-cat-manage.php

@@ -57,6 +57,9 @@ class Studiou_WC_Product_Cat_Manage {
      * Initialize the plugin
      */
     public function __construct() {
+        // Load text domain for translations
+        add_action('plugins_loaded', array($this, 'load_textdomain'));
+        
         // Load dependencies
         $this->load_dependencies();
         
@@ -73,6 +76,17 @@ class Studiou_WC_Product_Cat_Manage {
         $this->init_components();
     }
     
+    /**
+     * Load text domain for translations
+     */
+    public function load_textdomain() {
+        load_plugin_textdomain(
+            'studiou-wc-product-cat-manage',
+            false,
+            dirname(STUDIOU_WCPCM_PLUGIN_BASENAME) . '/languages/'
+        );
+    }
+    
     /**
      * Load required dependencies
      */