Skip to content

Add UI infrastructure for modpack community translations#1219

Draft
Copilot wants to merge 6 commits intomasterfrom
copilot/add-translations-support
Draft

Add UI infrastructure for modpack community translations#1219
Copilot wants to merge 6 commits intomasterfrom
copilot/add-translations-support

Conversation

Copy link
Contributor

Copilot AI commented Dec 15, 2025

Description

Implements UI components to display community-made translations for modpacks. Three elements added per mockup: "Download Translated" button, language count indicator, and translation team listing.

Changes

New Components

  • StoreProjectTranslations.vue - Translation team list with clickable URLs and language badges

Modified Components

  • StoreProjectHeader.vue - Added translate button and language count chip
  • StoreProject.vue - Integrated translation section with conditional rendering
  • StoreProjectCurseforge/Modrinth/FeedTheBeast.vue - Added translations array to project model and placeholder install handler

Data Model

interface TranslationTeam {
  id: string
  name: string
  url: string
  language: string
}

interface StoreProject {
  // ... existing fields
  translations?: TranslationTeam[]
}

Behavior

  • UI elements only render when translations.length > 0
  • Clicking team items opens URLs in browser
  • Install button emits event (handler TODO: implement selection dialog)

Localization

Added keys: modpack.translationTeam, modpack.noTranslationsAvailable, modpack.languagesSupported, modpack.downloadTranslated

Integration

Translation data currently empty placeholders. Populate via backend API or community database:

const project = computed(() => ({
  // ... other fields
  translations: [
    {
      id: 'minecraft-inside-ru',
      name: 'minecraft-inside.ru',
      url: 'https://minecraft-inside.ru/translations',
      language: 'Russian'
    }
  ]
}))

Documentation

  • docs/MODPACK_TRANSLATIONS.md - Architecture and integration guide
  • docs/VISUAL_GUIDE.md - UI layout and examples
Original prompt

This section details on the original issue you should resolve

<issue_title>Adding the ability to install translations for Minecraft mod packs in other languages.</issue_title>
<issue_description>I propose the possibility of installing community-made translations for Minecraft modpacks. The author of the translation and the websites where their translations of the packs can be downloaded will be indicated (the community will be able to suggest adding translations from specific teams to the modpack's page). Alternatively, the authors themselves can contact the launcher developer to have their version listed as an option for installation (installing the modpack with or without the translation).

Image</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 5 commits December 15, 2025 07:52
Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
…sed i18n keys

Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
Copilot AI changed the title [WIP] Add ability to install translations for Minecraft mod packs Add UI infrastructure for modpack community translations Dec 15, 2025
Copilot AI requested a review from ci010 December 15, 2025 08:02
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.

Adding the ability to install translations for Minecraft mod packs in other languages.

2 participants