diff --git a/translationRunner.js b/translationRunner.js index 26f3b2214..63c8022be 100644 --- a/translationRunner.js +++ b/translationRunner.js @@ -6,7 +6,7 @@ const { default: manageTranslations, readMessageFiles } = require('react-intl-tr const RFC5646_REGEXP = /^[a-z]{2,3}(?:-(?:x|[A-Za-z]{2,4}))*$/; -const rootDirectory = path.resolve(__dirname, '..'); +const rootDirectory = path.resolve(__dirname); const translationsDirectory = path.resolve(rootDirectory, 'app', 'soapbox', 'locales'); const messagesDirectory = path.resolve(rootDirectory, 'build', 'messages'); const availableLanguages = fs.readdirSync(translationsDirectory).reduce((languages, filename) => {