diff --git a/lib/transifex.js b/lib/transifex.js index 271b6da7..ab5a76bf 100644 --- a/lib/transifex.js +++ b/lib/transifex.js @@ -128,7 +128,8 @@ const txAvailableLanguages = async function (slug) { }); const languages = await project.fetch('languages'); - return languages.data.map(l => l.code); + await languages.fetch(); + return languages.data.map(l => l.attributes.code); };