=== SetaLabs External Catalog — translations ===

Text domain: setalabs-external-catalog
Source language (msgid): English

Supported locales (local/dev):
- en_US — English (United States)
- ru_RU — Russian

WordPress.org release packages include only `setalabs-external-catalog.pot`.
Locale `.po`/`.mo` files stay in the development tree for local testing and are
excluded from the distribution ZIP via `.distignore`. After directory approval,
community translations are managed on translate.wordpress.org.

=== Update workflow ===

From the plugin directory:

1. Regenerate POT, PO, and MO:
   composer i18n

2. Or step by step:
   composer make-pot
   php .dev/scripts/build-translations.php
   composer make-mo

Dev tooling lives in .dev/ (Composer, WP-CLI, tests). First-time setup:
   composer install-dev

Requires WP-CLI via .dev/wp-cli/packages (bin/wp-cli.phar downloads automatically).

=== File naming ===

{domain}-{locale}.po / .mo
Example: setalabs-external-catalog-ru_RU.po

=== Verification ===

Manual QA checklist:

1. WP Settings → General → Site Language = English (United States)
   → SetaLabs Catalog admin and frontend (search, catalog, product) in English.

2. Site Language = Русский
   → Same UI in Russian via .mo files.

3. Language switch requires no code changes — only Site Language + .mo.

4. JS UI (configurator, search form, admin diagnostics AJAX)
   → Strings from wp_localize_script / PHP __(), not hardcoded Russian fallbacks.

5. After editing PHP strings:
   composer i18n → update .po if new msgids appear in .pot diff.
