Optimize Language Mapping Fields to Generate Only for Sales Channel Languages
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 1.2k
- Avg merge
- 3d 55m
- Merged PRs (30d)
- 436
Description
### User story
Currently, translated fields in Shopware generate language mapping fields for all languages, regardless of their relevance to specific sales channels. This results in redundant mappings and increased resource usage, which can affect performance and efficiency. To address this, I propose an enhancement to generate language mapping fields and indices only for languages associated with active sales channels.
Proposed Solution:
Modify the system to generate language mapping fields and index only for languages used by sales channels.
### Acceptance criteria
Ensure that only these relevant language mappings are indexed, reducing redundancy and optimizing resource usage.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the language-mapping generation and indexing logic, then trace how active sales-channel languages are determined. Done means mappings and indices are generated only for languages associated with active sales channels, with redundant mappings removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100