- Issue created by @mohammad-fayoumi
- Status changed to Needs review
over 1 year ago 2:42pm 23 October 2023 - last update
over 1 year ago 708 pass - 🇯🇴Jordan mohammad-fayoumi Amman
Update the patch according to the latest changes on 8.x-3.x
The current behavior of the `feed/{id}/list` endpoint in the Feed module displays imported entity items in the default language, even when the processor language is different. This can be confusing and less user-friendly, especially for multilingual sites where content may be imported in various languages.
- Imported items should be displayed in the same language as the processor (Spanish).
- Imported items appear in the default language (e.g., English) and not in the processor's language (Spanish).
To address this issue, we propose updating the `listItems` method in the `ItemListController` to consider the processor's feed language when loading the entity items. This would ensure that imported items are listed in the correct language, matching the processor's language configuration.
- Add appropriate tests to ensure the feature works as expected.
- Update documentation to reflect the new behavior.
This feature does not introduce direct user interface changes, but it improves the consistency of the `feed/{id}/list` endpoint by displaying imported items in the correct language.
This feature may require changes to the Feed module's API to support loading items in the processor's language.
This feature may not introduce data model changes, but it may require adjustments to the way entity items are loaded and displayed in the context of the processor's language.
If you have any alternative or more effective methods to address this feature request, kindly share them.
Your insights are highly valued.
Active
Code
Update the patch according to the latest changes on 8.x-3.x