ryjekpl
Posts: 4
Joined: Wed Jan 11, 2017 8:42 am

Custom dialog doesn't translate after adding new language.

EDIT:
I found what I done wrong. I don't use [ButtonText_Back] etc. in pt translations.

Hello,
Recently I added Portuguese (pt_BR) language and my custom dialog (showing during product remove) doesn't translate at all, doesn't even translate buttons label.
Maintenance dialog in portuguese
Maintenance dialog in portuguese
previous_dialog.png (12.51 KiB) Viewed 1422 times
Custom dialog with empty translations
Custom dialog with empty translations
empty_dialog.png (7.89 KiB) Viewed 1423 times
Custom dialog in not default language
Custom dialog in not default language
same_dialog_other_language.png (13.24 KiB) Viewed 1422 times
I have already five language in installer but they have been added before I created this dialog (if I remember correctly). There are translations in project because every other build-in dialog window is translated also it's working for other languages. Any idea how to fix this? Recreating dialog doesn't help.

Also could you tell me how to test other language than default in maintenance dialog? If I added selection of language at installation start I can change it's language but there is no such option for this in maintenance.

Best regards,
Piotrek
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom dialog doesn't translate after adding new language.

Hello Piotrek,

I'm glad you solved this.
Also could you tell me how to test other language than default in maintenance dialog? If I added selection of language at installation start I can change it's language but there is no such option for this in maintenance.
When using the "Display language selection dialog" option you should get the setup running on maintenance mode in the same language as it was installed. However, please keep in mind that you should use the same "ProductCode" for all of your installation languages. You should just go to "Product Details" page -> "Product IDs" tab.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”