libthai0:i386 depends on libdatrie1 (>= 0.2.0); however: Package libdatrie1:i386 is not configured yet.

C++
sudo dpkg --configure -a
sudo apt --fix-broken install
Source

Also in C++: