Skip to content

HAMUR_E5820: An i18n.pages path does not keep the params of its route

An i18n.pages path does not keep the params of its route. Error HAMUR_E5820 belongs to @hamur/i18n (5801 – 5900).

Message

text
HAMUR_E5820 i18n.pages.<name>.<code> "<path>" must keep the params of "<record>" (<names>)

Cause

A localized path answers for the same page, so it must have the same dynamic params as the route's path.

Fix

Keep every param of the route in the path.