divec / ll

Two-way parallel translation
GNU Affero General Public License v3.0
3 stars 5 forks source link

Fix language dropdown when using Google Translate #29

Closed catrope closed 5 years ago

catrope commented 5 years ago

The code expected the data from the Google Translate API to look like: { source: 'en', target: 'nl' } but it actually looks like: { source: { language: 'en' }, target: { language: 'nl' } }