Linguist problem
-
Please show contents of .pro file.
Do you translate your file correctly? Please make sure that you didn't skip a step. You should open your .ts file with Qt linguist, translate it and save translation.
Specify absoloute or relative path to your binary translation file. Normally, such files have .qm extention (unless you rename them) but in code you sent:
@
pr.load( "pr_la" );
@You are loading a file with no extention in current working directory. I think it should be:
@
pr.load( "./pr_la.qm" );
@
Or better than previous:
@
pr.load( QString("%1/%2").arg(qApp->applicationDirPath()).arg("pr_la.qm"));
@ -
i realy dont know whats my problem !!
please check my output . its true ?!!"after converting i exec “lrelease emptyProject.pro” and :
The directory name is invalid.
Could not find qmake configuration directoryCould not find qmake configuration f
ileUsing OS scope before setting MAKEFILE_GENERATORUpdating ‘C:/Users/Arman/Docu
ments/Qt Project/emptyProject/pr_la.qm’… Generated 1 translation(s) (1 finished and 0 unfinished)" -
"Forums > International > Persian":http://qt-project.org/forums/viewforum/40/