add locales api to readme