hi, i wanted to create a menu with options written in greek so i wrote something like this::
but when i tried to run the program the menu had rubbish....
how can i fix this problem?
Printable View
Start with reading article Internationalization with Qt. ;)
The preferred way is to do:
and do the actual translation with the internationalization tools provided with Qt.
ok i could do this,but doesn't evolve alot of extra work for someone that doesn't want to translate his application simply write it from the beginning into another language....
Then this someone should use a proper encoding, set a codec or use proper QString methods that take input in the used encoding.
I have a feeling that using exotic letters might also cause problems for some compilers.
Not speaking of two or more people modifying the same file and forgetting to use the same encoding... Lots of problems :) Qt is quite liberal here, for example gettext forbids using message keys in encodings different than latin1.