Here is a recommendation for the weekend. #libretranslateR
You can use this #rstats package to connect to #LibreTranslate API from R. Translation, automatic language detection … . As you can install your LibreTranslate instance, offline translation is available.