Install the following packages from Synaptic Package Manager. You can navigate to Synaptic package manager through System--> Administration--> Synaptic package manager. The packages are as follows
m17n-db scim scim-m17n scim-gtk2-immodule
Activate your language support by navigating through
System-->; Administration-->;Language support. Select your language of your choice.
Now setup the SCIM by checking the boxes as shown in the Fig
You can navigate to SCIM through System-->; Preferences-->;SCIM Input method.
Well to type, open Gedit text editor. Click right mouse button, You will get a popup as seen in Fig
Select Scim input method
You will get a Language toolbar
Select your language and type.