Closed (fixed)
Project:
TMGMT Translator Gengo
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jan 2013 at 12:25 UTC
Updated:
25 Jul 2014 at 06:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
blueminds commentedImplemented in attached patch
Comment #2
berdirCommited and pushed.
Comment #3
issam.zeibak commentedTested this on our side, this looks like a good fix.
Comment #4
berdirWell, that didn't work at all. It used the language pairs API method for the supported languages call (by looping over local languages) which was a) extremely slow as it does a call per source language and then groups it together b) was broken because the get language pairs method cached without checking the source language and c) would not actually work to look up not-matching source languages because it would not find matching language pairs ;)
There's a languages service callback, so we can simply use that...
Comment #5
berdirCommited that.
Comment #9
berdir