Please note that setting the wp-wpml_current_language cookie as "HttpOnly" is not recommended because it would prevent JavaScript from accessing the cookie. This attribute is typically used for server-side session cookies that don't need to be available to JavaScript.