use request context to determine locale