move language bar related functions to languagebar.cpp
moving language bar related controls and function to text server class