This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: string aren't translate during the installs !?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2007
02:48 AM
string aren't translate during the installs !?
Hi,
i have a basic msi project who installs some dll dotnet some exe and some xml file, all works perfectly!
there is just one thing who don't work and i don't find WHY !
if i install my product and i choice the language english for exemple when i double click on the installer all string language are correct and i receive all string or warning in the correct language => english !
Now, if i choice french language for exemple and that's my service doesn't start during the install i send a warning in the user as this :
but i receive this message in english and HOWEVER the string are translate in french !!!!
Same thing for the other language ..and i don't understand why ?!
Any idea for to correct this problem ?!
Thanks for your idea
Christophe
i have a basic msi project who installs some dll dotnet some exe and some xml file, all works perfectly!
there is just one thing who don't work and i don't find WHY !
if i install my product and i choice the language english for exemple when i double click on the installer all string language are correct and i receive all string or warning in the correct language => english !
Now, if i choice french language for exemple and that's my service doesn't start during the install i send a warning in the user as this :
//some line for to start the service
//If the service doesn't start i send a message !
MessageBox(@ID_STRING121, INFORMATION);
but i receive this message in english and HOWEVER the string are translate in french !!!!
Same thing for the other language ..and i don't understand why ?!
Any idea for to correct this problem ?!
Thanks for your idea
Christophe
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2007
09:46 AM
Hi it's enough me,
i've notice when the build of my project is finished there is some file MST, each file contains some strings for the installs.
If i open the file 1036.MST => french my string (sentence)=> "Le service ***** n'a pas pu démarrer " isn't present in this file !!!! However some other string are present ..
Of course, i've looked in the french table and my string ID_STRING121 exist !
Someone can give me a solution or a way to explore what's happens ?!
Thanks for all
Christophe
i've notice when the build of my project is finished there is some file MST, each file contains some strings for the installs.
If i open the file 1036.MST => french my string (sentence)=> "Le service ***** n'a pas pu démarrer " isn't present in this file !!!! However some other string are present ..
Of course, i've looked in the french table and my string ID_STRING121 exist !
Someone can give me a solution or a way to explore what's happens ?!
Thanks for all
Christophe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2007
08:11 PM
How about purging the release folder, so that you are sure the release built with F7 will be a clean full build.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 08, 2007
05:02 AM
Hi Tsungh,
i've purge the load but string are not present in the file mst perhpas the string for my custom action are stored in the file MSI !?
But for to resolve my problem who was : after readyToInstall, i 've a custom action who start a service at the end of installation and if this service can't start for a reason i send a message :
but all the time this message is send in ENGLISH then i launch my install in italian or french or other language !!!
For resolve this, i have created a set properties for productLanguage and in my script who starts the service i do a
for to have the Windows plateform id => 1033 en-us / 1036 french / 1040 italian and i do a switch with the correct number and a send the correct string !
This solution works...
but I WOULD LIKE TO KNOW AND ESPECIALLY UNDERSTAND 🙂 why when in my previous load if i choice french as language install and my service can't start the language who is send is always in english !?
Perhpas ?! because the installer in execute sequence hasn't access to the ProductLanguage but i 'm not sure !
I hope to have some reason and some LIGHT i m a beginner 🙂
Thanks for your comments
Christophe
i've purge the load but string are not present in the file mst perhpas the string for my custom action are stored in the file MSI !?
But for to resolve my problem who was : after readyToInstall, i 've a custom action who start a service at the end of installation and if this service can't start for a reason i send a message :
MessageBox( @ID_STRING..., INFORMATION );
but all the time this message is send in ENGLISH then i launch my install in italian or french or other language !!!
For resolve this, i have created a set properties for productLanguage and in my script who starts the service i do a
MsiGetProperties(hMSI, "CustomActionData", ...);
for to have the Windows plateform id => 1033 en-us / 1036 french / 1040 italian and i do a switch with the correct number and a send the correct string !
This solution works...
but I WOULD LIKE TO KNOW AND ESPECIALLY UNDERSTAND 🙂 why when in my previous load if i choice french as language install and my service can't start the language who is send is always in english !?
Perhpas ?! because the installer in execute sequence hasn't access to the ProductLanguage but i 'm not sure !
I hope to have some reason and some LIGHT i m a beginner 🙂
Thanks for your comments
Christophe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2007
06:56 PM
I confirmed that this is a breakage from IS 11.5, and submitted the work order #IOC-000066050 so that it will be fixed in a future release. To get it workaround, you need to create a localizable MSI property in the Property Manager that uses the string ID of ID_STRING..., and pass the value of the MSI property to your InstallScript function through the CustomActionData property.
Thank you for reporting this.
Thank you for reporting this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2007
05:43 AM
Hi hidenori,
Ok for create a localisable string in the property manager but we have 13 languages and some function of the installscript and it's a bit heavy !
But my package works and is localisable thats the most important 🙂 !
Thanks for you information
Christophe
Ok for create a localisable string in the property manager but we have 13 languages and some function of the installscript and it's a bit heavy !
But my package works and is localisable thats the most important 🙂 !
Thanks for you information
Christophe