Skip to content

fix(eid-wallet): translate the apps ribbon categories the marketplace uses - #1188

Merged
Sahil2004 merged 1 commit into
mainfrom
fix/eid-wallet-ribbon-category-translations
Oct 3, 2026
Merged

Sahil2004 merged 1 commit into
mainfrom
fix/eid-wallet-ribbon-category-translations

Conversation

@Bekiboo

@Bekiboo Bekiboo commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Description of change

The apps ribbon showed most categories in English after switching the wallet to Russian or Ukrainian. Only Social, Governance and Finance had translations, while the live platforms mostly use Productivity, Wellness, Communication and Other. This adds labels for those, plus Identity and Storage from the marketplace's own category list.

  • App names stay as published. They are product names, and the marketplace doesn't translate them either.
  • Platforms type their category as free text, so a category without a label still shows as published.
  • The ru/uk wording is a best effort. It can be corrected later through the translations catalog without a release.

Issue Number

Closes #1184

Type of change

  • Fix (a change which fixes an issue)

How the change has been tested

  • /api/platforms today returns Productivity (11), Wellness (2), Communication, Other and Social. All five now have labels.
  • docs/static/translations.json regenerated with build-translations-catalog.mjs; --check reports it up to date.
  • Biome passes, and marketplaceApps.spec.ts passes (22/22).
  • svelte-check reports one error, Cannot find module '@tauri-apps/plugin-http', because that package from feat(eid-wallet): load the apps ribbon from the marketplace's live platforms #1181 isn't installed locally. It is unrelated to this change.
  • Not tried on a device.

Change checklist

  • I have ensured that the CI Checks pass locally
  • I have removed any unnecessary logic
  • My code is well documented
  • I have signed my commits
  • My code follows the pattern of the application
  • I have self reviewed my code

Summary by CodeRabbit

  • New Features
    • Added marketplace category labels for Communication, Identity, Other, Productivity, Storage, and Wellness in English, Russian, and Ukrainian.

… uses

The ribbon only translated Social, Governance and Finance, so the live
categories (Productivity, Wellness, Communication, Other) stayed in English
in ru and uk. Add labels for those and for Identity and Storage, the other
categories the marketplace lists.
@Bekiboo
Bekiboo requested a review from coodos as a code owner October 3, 2026 10:18
@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3826a686-69f5-4713-b13a-48790dd0d1ce
📥 Commits

Reviewing files that changed from the base of the PR and between be225bc and ce5cd20.

📒 Files selected for processing (5)
  • docs/static/translations.json
  • infrastructure/eid-wallet/messages/en.json
  • infrastructure/eid-wallet/messages/ru.json
  • infrastructure/eid-wallet/messages/uk.json
  • infrastructure/eid-wallet/src/routes/(app)/main/components/AppsMarketplace.svelte

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Marketplace translations were added for additional categories in English, Russian, and Ukrainian. The eID Wallet marketplace category mapping now includes labels for communication, identity, other, productivity, storage, and wellness.

Changes

Marketplace localization

Layer / File(s) Summary
Add marketplace category translations
docs/static/translations.json, infrastructure/eid-wallet/messages/*.json
Translation entries add marketplace category labels in English, Russian, and Ukrainian.
Map category keys to translated labels
infrastructure/eid-wallet/src/routes/(app)/main/components/AppsMarketplace.svelte
CATEGORY_LABELS adds translated labels for communication, identity, other, productivity, storage, and wellness.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix · Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to ce5cd

The added marketplace categories resolve to localized labels in English, Russian, and Ukrainian. No merge-blocking issue was identified.

Architecture Summary

Architecture risk: 🔵 Low · up to ce5cd

The change affects 2 systems.

Changed systems: infrastructure, docs

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — infrastructure (service) was modified; 4 changed files map to changed impact.
  • observed — docs (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in docs/static/translations.json: Added marketplace category translations for Identity, Other, Productivity, Storage, and Wellness in English; existing categories remain.
  • observed — Modified behavior in docs/static/translations.json: Added the Russian translations for the five new marketplace categories; existing categories remain.
  • observed — Modified behavior in docs/static/translations.json: Added the Ukrainian translations for the five new marketplace categories; existing categories remain.
  • observed — Modified behavior in infrastructure/eid-wallet/messages/en.json: Adds the marketplace category label “Communication.”
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed [#1184] The AppsMarketplace component uses localized category labels for matching category keys and keeps the published category as the fallback. The PR adds Russian and Ukrainian labels for Productiv…
Out of Scope Changes check ✅ Passed The changes stay within [#1184]. The English strings and generated translations catalog support the added category labels. Identity and Storage are additional marketplace categories handled by the sam…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Title check ✅ Passed The title clearly summarizes the main change: translating the marketplace categories shown in the apps ribbon.
Description check ✅ Passed The description includes the change summary, linked issue, change type, test results, and completed checklist. It also clearly notes the untranslated app names and the local svelte-check error.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Bekiboo Bekiboo self-assigned this Oct 3, 2026
@Sahil2004
Sahil2004 merged commit 6159cf1 into main Oct 3, 2026
4 checks passed
@Sahil2004
Sahil2004 deleted the fix/eid-wallet-ribbon-category-translations branch October 3, 2026 14:15
@Bekiboo Bekiboo mentioned this pull request Oct 3, 2026
4 tasks done
Sahil2004 pushed a commit that referenced this pull request Oct 5, 2026
The apps ribbon now loads from the marketplace's live platforms (#1181), a new
user-facing capability, so this is a minor rather than a patch. #1188 follows
with the category translations.

The Android versionCode goes to 33, continuing 24, 25, 26, 27, 28, 31, 32.

.env.example gains the docs site as a commented value for
PUBLIC_TRANSLATIONS_URL, the way it already offers the registry and provisioner
URLs per environment. Empty disables the runtime correction catalog, which suits
a local checkout but leaves a release build unable to receive wording fixes.
Sign up for free to 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.

[eID Wallet] Apps marketplace categories not translated after changing language

2 participants