devict / votelocal

A web app for receiving local voting information via SMS
15 stars 16 forks source link

Button to translate English text to Spanish #45

Open sethetter opened 5 years ago

sethetter commented 5 years ago

Now that we have a field in ScheduledMessages for a Spanish translation, it would be nice to have a UI piece that can translate the English test through Google Translate!

We would need an API endpoint to pass the data through, and some Vue code to use that endpoint to show the result on the page. By doing that, the user can choose to copy/paste it into the Spanish box, instead of it potentially clobbering what they have in there already.