I'm pretty sure you can add this method in [i18n.js](https://github.com/popcorn-time/popcorn-app/blob/master/node_modules/i18n/i18n.js) module and used it like `i18n.getLocales()`.