Open javieriserte opened 2 months ago
For backend error messages:
def changeLanguage(lang: String): Action[AnyContent] = Action {
implicit request => {
// val pLang = request.cookies.get("PLAY_LANG").map(_.value)
// val l = implicitly[Lang]
val s0 = Messages("error.E0304")
Redirect("/home")
.withLang(Lang(lang))
}
}
A prototype...