Dev63
Posts: 25
Joined: Mon Dec 02, 2013 8:21 pm

Localizing into Spanish

We paid a localization company to localize our product into es-es (actually with a Latin American slant).

Attached are a couple of screen captures they sent back for improving the Spanish translations for Advanced Installer.

Also, they noted that Advanced Installer was showing the default installation directory as "C:\Program Files (x86)..." rather than "C:\Archivos de Programa...". I've asked them for more information, and I'm not sure of the exact circumstances, but is there a switch somewhere we're supposed to be setting so that [ProgramFilesFolder] gets localized?
Attachments
Installer_ES_Language.zip
(311.48 KiB) Downloaded 344 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localizing into Spanish

Hi,

The [ProgramFilesFolder] property is automatically set by Windows Installer to the location and the name of the "Program Files" folder on 32-bit machines or to "Program Files (x86)" folder on 64-bit machines.

For example, on an English 64-bit machine, if you want to install a 32-bit package it will point to the "C:\Program Files (x86)" folder, if you want to install a 64-bit package, it will point to the "C:\Program Files" folder. Also, on a Spanish 64-bit machine, a 32-bit package will point to the "C:\Program Files (x86)" folder (as far as I know this folder is not localized) and a 64-bit package will point to the "C:\Archivos de Programa" folder.

To make sure that the install location of your package is correct, you can go to the Windows Volume drive (i.e. C:\ drive) and see what are the names of these folders on the Spanish machine.

Let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dev63
Posts: 25
Joined: Mon Dec 02, 2013 8:21 pm

Re: Localizing into Spanish

Eusebiu, your answer may have been correct at some point, but I just tested on Windows 8.1, and Windows does indeed display Program Files (x86) as Archivos de Programa (x86) when in Spanish. However, Advanced Installer displays this incorrectly as Program Files (x86).
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localizing into Spanish

Hi,

Indeed, it seems that the "Program Files (x86) folder is localized on some machines, sorry for my mistake.

However, on some machines (I'm not sure if this happens on all machines), is seems that this folder is only localized for the UI, not in the registry, too. To search for the location and the name of the "Program Files (x86)" folder in the registry, you can follow the path below:
  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir
Also, to search for the real install language of your machine, you can check the following registry value:
  • HKLM\SYSTEM\ControlSet001\Control\Nls\Language\InstallLanguage
Please keep in mind that the path and the name to this folder is set by Windows Installer, not by Advanced Installer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dev63
Posts: 25
Joined: Mon Dec 02, 2013 8:21 pm

Re: Localizing into Spanish

Eusebiu,

I just checked my PC, and the registry keys you mention are indeed in English. But ... the Windows Explorer shows these folder names in Spanish.

Perhaps Advanced Installer should be looking at something different than those keys? All I can tell you is that my Spanish translation team keeps marking this as a bug; they are not used to seeing "Program Files" as an installation folder. Worst case, you could look at your install language and "manually" translate these important, user-facing folders for display, and translate them back as needed.

Please also note that in my attachment to the start of this chain, the team pointed out a couple of other minor fixes you should make to your Spanish translations.

But the real problem is the display of this English folder name when installing in Spanish.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localizing into Spanish

Hi,

I added this improvement on our TODO list and it will be available in a future version of Advanced Installer. Thank you for your suggestion.

However, the localized values will be displayed only if the "Enhanced User Interface" feature is enabled in the Themes page, "Settings" tab which implies that the package should be an EXE setup, instead of MSI package. The default behavior of the MSI (Windows Installer) is to display these values unlocalized and we cannot modify that. You can see this problem detailed in the Windows Vista junctions points, MUI and localized folder names article.
Please also note that in my attachment to the start of this chain, the team pointed out a couple of other minor fixes you should make to your Spanish translations.
Yes, I noted that and this minor fixes will be available in the next version of Advanced Installer. Meanwhile, you can modify these strings (if you hurry) as explained in the Translation issue - can't translate all views thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”