[MGNLUI-5557] I18n doesn't allow to distinguish if field should fallback to default language or if it should be empty Created: 11/Dec/19  Updated: 16/Mar/21

Status: Accepted
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.7, 6.0, 6.1, 6.2
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Milan Divilek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Date of First Response:

 Description   

If i18n field for second language is not filled does it mean that it should fallback to primary language or that it has no content for that language(shouldn't be displayed)?

Current behaviour
Empty field fallbacks to primary language

Reproduce
1. Go to pages and open /travel/about
2. Switch to german language
3. Title of page is "Über Magnolia Travels", but we want it have empty for german language
4. Edit component and remove the german title
5. Save dialog
6. Title fallbacks to primary language

Acceptance criteria
Allow to distinguish if field should fallback to default language or if it should be empty.
Maybe icon next to the i18n field which would allow to hide it for the language.



 Comments   
Comment by Roman Kovařík [ 05/Mar/21 ]

mdivilek could you add an affected version?

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