thanks for replying...
in your's example output is on already given text....but i am changing the text on run time
using text edit or line edit and selecting my language from combo box

so can you please suggest me the code example for my code
what changes i have to do in my code

required output is user enter the text in textEdit
i have the multiple languages list in combobox
user change the language from combobox as soon as user change the combobox's language string the textEdit's field or lineEdit's field language should also changed in that particular language which ever selected by user from combobox.

i mean i wanna know what i have to do here from above code
void langChange :: changed(QString str)
{
str=lineEdit->text();
QMessageBox::information(0,"!!",languageName(str)) ;
//WHT TO DO
}



thanks in advance