Add locale to flex