Localization

Got a problem you cannot solve? Try here.
Post Reply
skibbs
Posts: 56
Joined: Thu Apr 27, 2006 5:06 pm
Location: Redmond, WA
Contact:

Localization

Post by skibbs »

Hello,

I was curious how the localization works under the hood, because I have a rather unusual case where I have 2 seperate IA installation projects that are almost identical except for maybe 20 lines. I need to localize these projects and was wondering if I could simply export one project, localize it, then import the localized text into both projects.

They use identical dialogs, but the label names might vary a little at the moment. I can correct this so they match though.

If the dialogs are the same between projects, including the labels on the forms, can I import the localization results into both projects?

Thanks!
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

That'll probably work. Just rename the .mtx file to match the file name of your .mpr file (without the .mpr, of course).

The script may not work though. To work around that, you could share the same script file (.mia) in both projects as your main setup script, and use compiler variables and conditional compilation to add/remove the 20 extra lines at build time.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
skibbs
Posts: 56
Joined: Thu Apr 27, 2006 5:06 pm
Location: Redmond, WA
Contact:

Post by skibbs »

I took your advice about using compiler variables and sharing a single project, works beautifully :D

Thanks for the tip!
Post Reply