PDA

View Full Version : Translation woes



sphair
04-14-2005, 08:08 AM
Currently translating my installer to Norwegian. Just finished the Custom Setup dialog, and it doesn't seem to use my translated text for DLG_CUSTOMSETUP_TEXT2.

linder
04-14-2005, 08:10 AM
Did you translate the DLG_CUSTOMSETUP_TEXT2 string resource in your project or in the language file?

sphair
04-14-2005, 08:21 AM
I used Project Explorer->Text and Messages

I'm not sure which one of the two you mention that is.

linder
04-14-2005, 08:23 AM
Then it's in your project. Could you please send your script to support (at) lindersoft (dot) com

BTW, if you change it in the Tools|Options|Languages... then you can re-use all your strings when creating new projects.

sphair
04-14-2005, 08:32 AM
And now you tell me :)

Maybe a Import function would be handy here, so I could import those texts from my project.

linder
04-14-2005, 08:38 AM
I cannot see where you use #DLG_CUSTOMSETUP_TEXT2# in your Custom Install dialog. Text ID displays #DLG_CUSTOMSETUP_TEXT1# in your script. Did you send the correct one?

Friedrich

sphair
04-14-2005, 08:42 AM
Ok, to explain the problem more closely:

I translated all the texts under Dialog Text->Custom Setup. One of these (DLG_CUSTOMSETUP_TEXT2) was originally containing "Feature Description". I translates this text to norwegian, but when I run my installer it still displays "Feature Description" under Custom Setup Dialog.

If it is not DLG_CUSTOMSETUP_TEXT2 I should translate to change "Feature Description", then please tell me where.

linder
04-14-2005, 08:47 AM
But where do you use the #DLG_CUSTOMSETUP_TEXT2# string resource? I have used the "Search" feature and this resource is not used in your script (you are using only #DLG_CUSTOMSETUP_TEXT1#).

Could you please post a screenshot?

linder
04-14-2005, 08:52 AM
I checked your script and the text "Feature Description" is not defined. Perhaps the compiler hard codes this. Item in review.

sphair
04-14-2005, 03:02 PM
Another thing I've noticed:
The "Select Destination Folder" dialog has an item called DLG_DESTINATION_BROWSETITLE. But it seems the dialog doesn't use this, but rather BTN_BROWSE. You might want to remove this DLG_DESTINATION_BROWSETITLE if it isn't used.

sphair
04-14-2005, 03:23 PM
"Setup Type" DLG_SETUPTYPE_TEXT1, I replaced this text with "Vennligst velg installasjonstype:", but only "Vennligst velg" shows up in the dialog when I run it.

linder
04-15-2005, 01:43 AM
Fixed, thank you.

linder
04-15-2005, 01:48 AM
#DLG_DESTINATION_BROWSETITLE# is the title on the "Browse For Folder" dialog. On most OS versions Windows sets this text automatically. It's not the "button text".

sphair
04-17-2005, 02:05 PM
I think I've translated all my texts, but when I do the actual install (copying of files), the Cancel button still says Cancel.