News for hackers. Stuff that matters.
Re:Show HN: Longest Translation – Handy utility for multi la... by userulluipeste on Friday April 24, 2015 @12:01PM (#9434215)
I've tried "once upon a time there was a king" (the first common words in a lot of fairy tales), which in Romanian should have been translated in five words - "a fost odată un împărat". This tool gives me "cu mult timp în urmă a Trăit-o a fost regele" - double of that amount (and I stop before getting into comments about the translated content itself)!
Re:Show HN: Longest Translation – Handy utility for multi la... by logicallee on Friday April 24, 2015 @01:09PM (#9434624)
Come on, you can hardly fault an automated language tool for not translating something idiomatically. Try your comment, and see how it does.
Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @12:59PM (#9434546)
Thanks userulluipeste! It's great to get feedback, seems Yandex API isn't the best, very interested if there's any others people have had a good experience with?
Re:Show HN: Longest Translation – Handy utility for multi la... by KMuncie on Friday April 24, 2015 @01:18PM (#9434692)
Very nice but your missing the worst offender... Greenlandic :)

Checkout the most translated website in the world to see some of these languages in action http://jw.org - Here is Greenlandic http://www.jw.org/kl/

Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @01:20PM (#9434709)
Wow! Greenlandic looks awesome! Never had the pleasure of supporting greenland yet. Limited by API support currently...
Re:Show HN: Longest Translation – Handy utility for multi la... by DanielStraight on Friday April 24, 2015 @11:17AM (#9433905)
Simple, useful, and well executed.

Thanks for sharing! (or... Mübadiləsi üçün təşəkkür edirik!)

My one thought is that string length in pixels is more important than character count, but you sidestep that issue by showing all the results. You can easily see if one is longer even though it has fewer characters.

Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @11:22AM (#9433948)
Thanks for the feedback DanielStraight! Yep definitely a great idea and something I want to do!
Re:Show HN: Longest Translation – Handy utility for multi la... by bx_ on Sunday April 26, 2015 @10:06PM (#9444085)
The Chinese for "hello" was sort of correct. It returned 喂 on the bottom of the list, but that's really "hello?" like answering the phone, not 你好 which is actually hello. I was surprised by its selection there.
Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @11:34AM (#9434029)
As a quick explanation. Very simple utility for quickly seeing what is the longest translation (by number of characters) for a specific word/phrase.

Plan to keep this online until I hit my API call limit then will post the source over the weekend!

Enjoy!

Re:Show HN: Longest Translation – Handy utility for multi la... by wodenokoto on Sunday April 26, 2015 @09:04AM (#9441615)
You might want to look into actual horizontal space. Visually the Japanese and Chinese translations takes a lot more space than the character count would have you believe.
Re:Show HN: Longest Translation – Handy utility for multi la... by Grue3 on Friday April 24, 2015 @01:15PM (#9434658)
Can you add an option to select the input language? For example if I submit a Japanese phrase, all the languages give identical results, which is the phrase itself.
Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @01:19PM (#9434700)
Yep, on the feature list, currently it's limited to en -> Other only. Also looking at selecting the target languages so you only see the languages you want.
Re:Show HN: Longest Translation – Handy utility for multi la... by motdiem on Friday April 24, 2015 @03:33PM (#9435563)
Well done, this is actually well executed and quite useful to quickly check translations for menus, dialog boxes and so on
Re:Show HN: Longest Translation – Handy utility for multi la... by kpatel79 on Friday April 24, 2015 @11:24AM (#9433968)
What do you use to translate and what is the quality rate on it?
Re:Show HN: Longest Translation – Handy utility for multi la... by dEnigma on Friday April 24, 2015 @11:57AM (#9434188)
I just played with it for a while and the German translations often were pretty bad ("Essen sie nicht, dass" for "Don't eat that!", when "Essen Sie das nicht!" or "Iss das nicht!" would be correct)
Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @11:28AM (#9433990)
Underneath it is currently using the Yandex API, mainly due to it's generous free tier. Can't speak to the quality myself, but it does the job as a quick tool for simple translations.
Re:Show HN: Longest Translation – Handy utility for multi la... by anentropic on Friday April 24, 2015 @11:47AM (#9434114)
wow the front-end makes a separate ajax call for each language - efficient!
Re:Show HN: Longest Translation – Handy utility for multi la... by matthewmacleod on Friday April 24, 2015 @12:35PM (#9434397)
You always have the option to not be sarcastic about it, and instead point out where efficiencies could be made. Being nice doesn't cost anything.
Re:Show HN: Longest Translation – Handy utility for multi la... by logicallee on Friday April 24, 2015 @01:12PM (#9434644)
It's almost as though efficiency isn't the main priority in a toy app that returns automated translations sorted by length.
Re:Show HN: Longest Translation – Handy utility for multi la... by clloyd on Friday April 24, 2015 @11:51AM (#9434143)
anentropic: I liked the effect of when a translation appearing as soon as they return. Not the most efficient decision I know! :D