Skip to content

Add ecommerce gettext manifest and ru/et translations - #547

Merged
ddon merged 8 commits into
BeamLabEU:devfrom
timujinne:pr/core-i18n-docs
May 18, 2026
Merged

Add ecommerce gettext manifest and ru/et translations#547
ddon merged 8 commits into
BeamLabEU:devfrom
timujinne:pr/core-i18n-docs

Conversation

@timujinne

Copy link
Copy Markdown
Contributor

Summary

Brings ecommerce i18n support and supporting documentation into dev.

The media-module components (MediaGallery, MediaViewer) themselves are already in dev from prior PRs; this change adds only the i18n work and documentation on top.

timujinneand others added 8 commits May 17, 2026 10:57
Add EcommerceGettextManifest to core so mix gettext.extract records
253 ecommerce admin strings into priv/gettext/default.pot. The
manifest re-emits all gettext calls from phoenix_kit_ecommerce admin
LiveViews (dashboard, carts, categories, products, imports, settings,
shipping) using the PhoenixKitWeb.Gettext backend — required because
mix gettext.extract does not walk into dep source files.
Fill Russian (ru) and Estonian (et) translations for all 253 new
msgids. Other locales (de, en, es, fr, it, pl) received the empty
entries from the extract run; translations for those remain pending.
Extraction command: mix gettext.extract --merge (from /app).
- De-fuzz 91 entries per locale that mix gettext.extract --merge had
incorrectly borrowed from unrelated strings (roles, buckets, notes, etc.)
- Replace every wrong msgstr with correct ecommerce-admin-sense translation
- Fix 4 placeholder mismatches: %{role_name}→%{count} in category/product
delete confirmations; %{count}→%{max} in file upload limit; %{count}→%{name}
in permanent-delete confirmation
- Fill 2 ngettext plural blocks: 1 category/%{count} categories and
1 product/%{count} products (ru: 3 forms, et: 2 forms)
- De-fuzz %{count} item restored and Move %{count} item to folder plurals
- Remove mistargeted credo:disable-for-next-line comment (no quote block present)
- Add explicit sidebar PhoenixKitEcommerce.Gettext subsystem OUT note to scope
- Execution plan for ecommerce admin UI i18n (ru/et)
- Phase 3 two-stage review report (spec + quality)
- Phase 4 live verification report (Decor 3D Print)
- fuzzy_fix_list working notes
- Carry over PR BeamLabEU#531 original review doc
- The admin header label used gettext("Admin"), mistranslated as
"Administrator" in ru; changed the msgid to "Admin Panel" with correct
ru ("Админ-панель") and et ("Halduspaneel") translations. Wrapped the
matching user-dashboard nav link too.
- MediaGallery pick button is now "Choose image" / "Choose images"
depending on single/multiple mode.
- Wrapped previously hardcoded MediaSelectorModal strings in gettext
(ngettext for the selection counter).
- Extracted/merged gettext catalogs; added ru and et translations.
…er fix, lib upgrades
# Conflicts:
#	lib/phoenix_kit_web/components/media_gallery.html.heex
@ddon
ddon merged commit 78497a0 into BeamLabEU:devMay 18, 2026
ddon pushed a commit that referenced this pull request May 18, 2026
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ddon pushed a commit that referenced this pull request May 18, 2026
Complete the 1.7.112 entry to cover all unreleased work since v1.7.111:
PR #548 (table_default sort/DnD, bulk_actions_bar, empty_state,
sort_selector, form_section/form_actions, Reorder/Values/Format utils),
PR #544 (MediaBrowser folder management overhaul), PR #545 (V120
document-creator taxonomy), PR #547/#542 (i18n manifests), and this
session's post-merge cleanup. Re-dated to 2026-05-18.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@timujinne
timujinne deleted the pr/core-i18n-docs branch June 25, 2026 08:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@timujinne@ddon