Automatic locale/language management for URLs