func (VS *Server) changeLanguage(c *gin.Context) {
	lan, _ := VS.getParamFromURL(c, "language")
	language := Languages(lan)
	LanguageAPP = language
	c.Redirect(http.StatusFound, "/dashboard")
}
// Changes the language of the app
Changes the language of the app
// Changes the language of the app
func (VS *Server) changeLanguage(c *gin.Context) {
	lan, _ := VS.getParamFromURL(c, "language")
	language := Languages(lan)
	LanguageAPP = language
	c.Redirect(http.StatusFound, "/dashboard")
}
func ( VS * Server ) changeLanguage ( c * gin . Context ) { lan , _ := VS . getParamFromURL ( c , " " ) language := Languages ( lan ) LanguageAPP = language c . Redirect ( http . StatusFound , " " ) }
Changes the language of the app
Changes the language of the app