The script currently checks for the existence of the app/Resources/translations directory, but this directory does not exist in PrestaShop 8. It was used in previous versions of PrestaShop but is no longer relevant.
To improve compatibility with PrestaShop 8, this check should be removed or updated to avoid unnecessary warnings or errors.