[MGNLFE-194] Don't work with lang param that include country code Created: 06/May/22  Updated: 04/Jul/22  Resolved: 02/Jun/22

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Phong Le Quoc Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to PAGES-588 Language tag in spa renderer misses t... Closed
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: SPA Editor Backlog
Team: DeveloperX

 Description   

magnolia-rest-content-delivery expects language tag value of a locale for the lang param (BCP 47 format). However, minimal-headless-spa-demos provides toString value of a locale. For example, for new Locale("zh", "CN"), toString = "zh_CN", languageTag="zh-CN)

 



 Comments   
Comment by Phong Le Quoc [ 02/Jun/22 ]

MGNLREST-373 added support for _ so this ticket could be closed

Comment by Christopher Zimmermann [ 02/Jun/22 ]

Solved in linked ticket: https://jira.magnolia-cms.com/browse/MGNLREST-373

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