Re: Complex URL schema with i18n and l10n

Splash Forums Rewrite Users Complex URL schema with i18n and l10n Re: Complex URL schema with i18n and l10n

#22542

detestable
Participant

The aim was to avoid writing

.addRule(Join.path("/{lang}").to("/WEB-INF/jsf/index.xhtml").where("lang").matches("(de|fr|it|rm)"))

+

.addRule(Join.path("/").to("/WEB-INF/jsf/index.xhtml")

to avoid having 2 rules to maintain in the case of changes, but I’ll stick with this solution for the moment which does exactly what I needed!

Many thanks!