[MGNLUI-6216] Content language switch stay on current tab Created: 17/Sep/20  Updated: 12/Jan/21  Resolved: 12/Jan/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.1.6
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File example.png     Zip Archive templates.zip    
Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: UI framework implementation

 Description   

On a dialog which has multiple i18n tabs, at first it loads the proper language for each tab. Switching the language (e.g, from default English to German) will produce the tabs get translated but, if you try to switch to English again, the tabs translation will remain in German.

Steps to reproduce:
Create or use a dialog with two tabs on a i18ned site. Open the dialog and check the language of the tabs is the expected. Now switch to other language and check the translation is properly done. Switch back to the first language and check the fields get translated but the tabs remain in the second language.

Actual result:
After the first switch, the tab labels remains on the second language

Expected result:
Just like the rest of fields, the tabs switch the translation between the languages.

Dev notes:
N/A



 Comments   
Comment by Richard Gange [ 12/Jan/21 ]

I created this light module to do my testing: templates.zip

I have a page properties dialog with two tabs. I also have translations for each tab.

When I switch the languages in the dialog the data is changing correctly. The tab label translations are controlled by the user settings. So, as the user, I can control what language I want the system to display for labels. Maybe I am misunderstanding something? It does seem to be working correctly in 6.2.5.

Comment by Richard Gange [ 12/Jan/21 ]

Not an issue on 6.2.5

Generated at Mon Feb 12 09:34:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.