save language preference in cookie or localStorage
check language cookie on server
server sets cookie, with test