View Single Post
  #14  
Old 26-06-2012, 07:18
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Quote:
Originally Posted by Fabioddq View Post
Easy guy's

I'm trying to discover the problem
I do not know which function to use to identify the language automatically.
Yener perhaps should know. hehe

For now, change langId in the registry or change before the conversion in InstallerScript.iss:

1 - English*
3 - German*
4 - French*
5 - Spanish*
6 - Italian*
9 - Portuguese
10 - Norwegian
11 - Danish
unfortunately those codes are not predefined.
ubisoft uses different codes everytime.
in driver it was
0 = English
1 = German
....

i dont have the game so i cant analyze completely.
if your codes are correct you can use those lines for script:
Code:
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 1; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 3; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ger;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 4; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: fre;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 5; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: spa;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 6; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ita;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 9; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: porbr;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 10; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: nor;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: dword; ValueName: langId; ValueData: 11; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: dan;
you have forget or not found polish, dutch and swedish
Reply With Quote