canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

How to change "project language"?

Hello everyone.

I started out with project language "English (GB)", but now we need to change this to "English (USA)". Can this be done? Can I just change the .aip file? When doing this, what are possible side effects?



With best regards

Clemens Anhuth
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: How to change "project language"?

Hi Clemens,

Normally, the project language cannot (and should not) be changed after creating the project. However, since the 2 languages are almost identical, you could attempt the following (after backing up your existing AIP file first):

1. Open the AIP file and change the value of the "Language" attribute of the "DOCUMENT" element from "en_GB" to "en".

2. Change the row:

Code: Select all

<ROW Property="ProductLanguage" Value="2057"/>
to:

Code: Select all

<ROW Property="ProductLanguage" Value="1033"/>
3. Change the row:

Code: Select all

<ROW Property="ProductCode" Value="2057:{A9723135-DAE3-4F10-B2A8-FC540F05F7D5} "/>
to:

Code: Select all

<ROW Property="ProductCode" Value="1033:{A9723135-DAE3-4F10-B2A8-FC540F05F7D5} "/>
The above ProductCode GUID is just an example, make sure you use the correct ProductCode GUID. If you have a multilingual package, change only the first "Language:GUID" pair.

4. Change the "DictionaryComponent" element from:

Code: Select all

<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
    <ROW Path="<AI_DICTS>ui.ail"/>
    <ROW Path="<AI_DICTS>ui_en_GB.ail"/>
  </COMPONENT>
to:

Code: Select all

<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
    <ROW Path="<AI_DICTS>ui.ail"/>
    <ROW Path="<AI_DICTS>ui_en.ail"/>
  </COMPONENT>
Again, pay close attention if you have any custom dictionaries or Repository dialogs.

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: How to change "project language"?

Hi Ionut,

thank you for the information, I will try this.



With best regards

Clemens Anhuth

Return to “Common Problems”