UK Data Explorer

European word translator

Enter one or two lower-case English words to see translations from Google Translate.

Examples:   banana     the cat     she runs

Random words:   industrial    somehow

A few things to keep in mind:

Map of Europe

This page was inspired by the etymology maps by Bezbojnicul on reddit. It was built using D3, maps from Natural Earth, and the Google Translate API. The translations were retrieved around 2014, and unfortunately this page is not currently set up to get new translations. You can contribute a few pounds towards the web hosting costs for this site if you really want to! Contact James Trimble.

This page currently only translates words that have been ' + ' looked up previously. ' + 'We hope to restore full functionality by June 2014. ' + 'Translations remain available for thousands of words.' + ''); } else {*/ var text = svg.selectAll("text") .data(json) .enter() .append("text") .attr("text-anchor", "middle") .style("font-size", "12px") .attr("class", function(d) {return "word-text " + d.name.replace(/[^a-zA-Z0-9]+/g, "-")}) //.text(function(d) {return translations.hasOwnProperty(d.language) ? translations[d.language] : "?";}) .attr("x", function(d) {return projection([d.c1, d.c2])[0];}) .attr("y", function(d) {return projection([d.c1, d.c2])[1];}) .on("mouseover", function(d){ d3.select("text.lang-name." + d.name.replace(/[^a-zA-Z0-9]+/g, "-")) .style("visibility", "visible"); d3.selectAll("text.word-text:not(." + d.name.replace(/[^a-zA-Z0-9]+/g, "-") + ")") .transition().duration(150) .style("opacity", "0.5"); }) .on("mouseout", function(d){ d3.selectAll("text.lang-name." + d.name.replace(/[^a-zA-Z0-9]+/g, "-")) .style("visibility", "hidden"); d3.selectAll("text.word-text:not(." + d.name.replace(/[^a-zA-Z0-9]+/g, "-") + ")") .transition().duration(150) .style("opacity", "1"); }); var langNameText = svg.selectAll("text.lang-name") .data(json) .enter() .append("text") .attr("text-anchor", "middle") .attr("class", function(d) {return "lang-name " + d.name.replace(/[^a-zA-Z0-9]+/g, "-")}) .style("visibility", "hidden") .style("font-weight", "bold") .text(function(d) {return d.lang_name;}) .attr("x", function(d) {return projection([d.c1, d.c2])[0];}) .attr("y", function(d) {return projection([d.c1, d.c2])[1]-13;}); var addText = function(json) { for (language in json) { if (json.hasOwnProperty(language)) { text .filter(function(d) {return d.language === language}) .text(json[language] + (language != "en" && json[language]=="an example" ? "*" : "")) //.style("fill", (json[language]=="an example" ? "#bbb" : "")); } if(language != "en" && json[language]=="an example") { d3.select("#same-word-warning").style("color", "#000"); d3.select("#same-word-star").style("display", "inline"); d3.select("#same-word-perhaps").style("display", "inline"); } } } if (!translationExists) { addText({"en": "an example"}); var langCount=0; var langTimer; var placeIndividualWords = function() { d3.json("translate_word_10.php?word=an+example&lang=" + dest_languages[langCount] + '&p=', function(json) { addText(json); }); langCount++; if (langCount == dest_languages.length) {clearInterval(langTimer);} } langTimer = setInterval(placeIndividualWords, 80); } else { var json = {"be":"\u043f\u0440\u044b\u043a\u043b\u0430\u0434","bg":"\u043f\u0440\u0438\u043c\u0435\u0440","de":"ein Beispiel","es":"un ejemplo","fi":"Esimerkiksi","fr":"un exemple","uk":"\u043f\u0440\u0438\u043a\u043b\u0430\u0434","hr":"Primjer","hu":"P\u00e9ldak\u00e9nt","is":"d\u00e6mi","it":"un esempio","lt":"pavyzdys","lv":"piem\u0113rs","nl":"Een voorbeeld","no":"et eksempel","pl":"Przyk\u0142ad","pt":"um exemplo","ro":"un exemplu","sk":"Pr\u00edklad","ga":"sampla","sv":"ett exempel","et":"n\u00e4iteks","mk":"\u043f\u0440\u0438\u043c\u0435\u0440","sq":"nj\u00eb shembull","sr":"\u043f\u0440\u0438\u043c\u0435\u0440","el":"\u03ad\u03bd\u03b1 \u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03b9\u03b3\u03bc\u03b1","ca":"un exemple","cs":"P\u0159\u00edklad","da":"et eksempel","sl":"Primer","eu":"Adibide","en":"an example","ru":"\u043f\u0440\u0438\u043c\u0435\u0440","tr":"bir \u00f6rnek","cy":"enghraifft","gl":"un exemplo","mt":"e\u017cempju"}; addText(json); } // } //TEMPORARY