Page 1 of 1

Localization

Posted: Tue Jun 27, 2006 4:33 pm
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!

Posted: Tue Jun 27, 2006 5:23 pm
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.

Posted: Tue Jun 27, 2006 6:43 pm
by skibbs
I took your advice about using compiler variables and sharing a single project, works beautifully :D

Thanks for the tip!