Skip to main content

Python Translations Tool


I made a python tool (which uses selenium and chromedriver) that takes in a phrase to translate and an array of language codes of the languages you want to translate the phrase into. It creates google translate URLs, copies the translations into an array, and then prints the array (which I then use to copy into Android Studio's translation tool). Here's a link to the python code for anyone interested: https://github.com/amandafarrell/PythonTranslationsTool/blob/master/Translations.py
Most of my app downloads are not in English (for example, my Scorekeeper app has been downloaded over 20,000 times and less than half of those downloads are in English), so it was worth it to me to manually create translated versions of my apps, but going forward I wanted to do less copying/pasting. Hopefully, this tool is helpful to others as well!

Comments

Popular posts from this blog

Trip to Europe 2024

Steven and I got to go to Europe for two weeks. Our main stops were Amsterdam, Brussels, and London. The links in this post take you to videos that go along with the pictures. Amsterdam, Netherlands Flying to Amsterdam from Salt Lake City was over 9 hours and 5,000 miles. Phew. We took trains to get from Schipol Airport to our hotel. It took us a little while to figure out exactly how to get where we were going in our jet-lagged state, but after tapping in and tapping out a few times getting around anywhere in Amsterdam was so easy! Bikes - We loved seeing all the bikes. The Centraal Station bike parking lot was especially amazing with just how many bikes were there. Canal Tour - One of our first activities in Amsterdam was a canal tour. Definitely recommend! It was nice getting an overview of the city and its history. Bike tour - Our favorite part of the whole trip! We zipped along the fields around Amsterdam on electric bikes, saw windmills and electric pumps, and stopped at a fa...

Delicious Crepes

  Delicious Crepes 2 Tbs melted butter 2 eggs 1 cup flour Mix. Then add slowly: 1/2 cup milk 1/2 cup water 1/4 tsp salt

Fidget ball made from pony beads and keychain rings