Skip to content

E-commerce 0.1.11: The shop admin in Russian and Estonian

E-commerce 0.1.11 translates the shop admin. All twelve admin pages, from products and categories to carts, imports, settings and shipping methods, now follow the admin’s language, with complete Russian and Estonian translations.

Some texts had been missed, such as the product form’s translations tab, the empty products list and parts of the CSV import. They are translated now. The counts at the top of the carts and shipping methods pages used the wrong Russian word form for one item and now change with the number. A dozen translations that had been filled from a neighbouring label, such as “No products found” showing the Russian for “No categories found”, are corrected.

Full release notes: E-commerce 0.1.11

0.1.11 · 16 July 2026

Added

  • Admin i18n wave. All 12 admin LiveViews (carts, categories, category form, dashboard, import show, imports, product detail, product form, products, settings, shipping method form, shipping methods) are now fully gettext-wrapped, using the module-owned PhoenixKitEcommerce.Gettext backend consistently (replacing leftover PhoenixKitWeb.Gettext calls). The ru/et catalogs were extended from 483 to 2,500+ msgids.

Fixed

  • Gaps in the i18n wave above, found in post-merge review. The product-form Translations tab (title/slug/description/SEO field labels and placeholders), several product-form help strings, the products-list empty state, the CSV-import confirm-step summary, an import-details notice, and a category-option delete confirmation were left unwrapped and rendered in English regardless of locale — not caught by mix gettext.extract --check-up-to-date, since that check only verifies already-wrapped calls, not coverage. All wrapped and translated (en/ru/et).
  • Cart and shipping-method page-header counts pluralize correctly. carts.ex and shipping_methods.ex used plain gettext for their “%{count} … total/configured” headers instead of ngettext, so the Russian translation hardcoded a genitive-plural noun regardless of count — rendering “1 корзин всего” / “1 методов настроено” at count = 1. Converted to ngettext, matching the categories/products pattern, with correct 3-form ru and 2-form et translations.
  • Corrected 12 catalog entries gettext’s fuzzy-matcher mis-filled from an unrelated adjacent label while merging the strings above (e.g. “No products found” pre-filled with the Russian/Estonian translation of “No categories found”).

See dev_docs/pull_requests/2026/11-admin-i18n-wave/CLAUDE_REVIEW.md for the full review.


E-commerce 0.1.11. Install or update: {:phoenix_kit_ecommerce, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.