Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong list of languages in placeholder text for live translations #2712

Open
svenseeberg opened this issue Mar 26, 2024 · 1 comment
Open
Labels
🐛 bug Something isn't working ⁉️ prio: low Not urgent, can be resolved in the distant future.
Milestone

Comments

@svenseeberg
Copy link
Member

Describe the Bug

When mirroring another regions page with the live content function while the other region has different languages available, the resulting placeholder language list is wrong.

Example:

https://integreat.app/lkmuenchen/ru/%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0-%D0%B8-%D0%BE%D0%B1%D1%83%D1%87%D0%B5%D0%BD%D0%B8%D0%B5/%D0%BF%D1%80%D0%BE%D1%84%D0%B5%D1%81%D1%81%D0%B8%D0%BE%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5-%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5/jibb-%D0%BC%D0%BE%D0%BB%D0%BE%D0%B4%D0%B5%D0%B6%D1%8C-%D0%B2-%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B8-%D0%B8-%D1%82%D1%80%D1%83%D0%B4%D0%BE%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2%D0%B5

image

Which uses a page of Munich as a source: https://integreat.app/muenchen/de/arbeit-ausbildung/unterst%C3%BCtzung-bei-der-suche-nach-einem-ausbildungsplatz/jibb-junge-menschen-in-bildung-und-beruf

Munich does not provide Russian translations but in general has more languages in its language tree. The number of items in the bullet point list seems to come from the live content source region, while the translations are then inserted based on the languages in the actual region.

Steps to Reproduce

  1. Create 2 regions with some overlapping languages in the language tree
  2. Create a page in the live content source region and fill all translations
  3. Create a page with all translations in the other region
  4. Set up live content from the second page to the first

Expected Behavior

The length list should only be based on the available languages in the region that is setting up the live content.

Actual Behavior

The length of the list is determined by the source region languages.

Additional Information

(https://chat.tuerantuer.org/digitalfabrik/threads/pf8xtob7ntnqipozwzp8cashkr

@svenseeberg svenseeberg added the 🐛 bug Something isn't working label Mar 26, 2024
@svenseeberg svenseeberg added this to the 24Q4 milestone Mar 26, 2024
@svenseeberg svenseeberg added the ⁉️ prio: low Not urgent, can be resolved in the distant future. label Mar 26, 2024
@osmers
Copy link

osmers commented Mar 26, 2024

@svenseeberg could you give an estimate of the effort? Based on that I would possibly rank the priority higher....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working ⁉️ prio: low Not urgent, can be resolved in the distant future.
Projects
None yet
Development

No branches or pull requests

2 participants