Added locale to api