Tremorblue
Programmer
Hi,
I have an existing application that uses text files to store the different languages.
I store them using the component object name and property
e.g
[ImageRotation Hint]
ENGLISH=Rotation
FRENCH=Rotation
GERMAN=Drehung
Then use GetPrivateProfileString to load the language that the user needs to use. I got through every visual component on the form loading its caption/hint properties.
Now my customer for a long time wants Russian/Chinese.
I found the components from TMS that allow Unicode characters. When I enter the russian directly into the TNTlabel it displays correctly.
My Question - What format should I convert the language file to ... its text - can be unicode or utf8.
Also how can I load that text into the application ? GetPrivateProfileString uses chars
Thanks
Regards
TB.
I have an existing application that uses text files to store the different languages.
I store them using the component object name and property
e.g
[ImageRotation Hint]
ENGLISH=Rotation
FRENCH=Rotation
GERMAN=Drehung
Then use GetPrivateProfileString to load the language that the user needs to use. I got through every visual component on the form loading its caption/hint properties.
Now my customer for a long time wants Russian/Chinese.
I found the components from TMS that allow Unicode characters. When I enter the russian directly into the TNTlabel it displays correctly.
My Question - What format should I convert the language file to ... its text - can be unicode or utf8.
Also how can I load that text into the application ? GetPrivateProfileString uses chars
Thanks
Regards
TB.