LatinIme: port TRDS
credit SlimRoms

Change-Id: Idfd8c89e2e0da8134c3b6e733dcf536e53e5955f