language handling for global redirect