Hi.
I need to create installer with 2 languages - english and german (german by default).
The difference is in end user license and in one xml file, which should differ depend on selected language.
In translation/languages I have selected both languages. In localization options I have checked "User Interface" and "File System / XML Files".
I have also checked "Enable per-element localization".
In Dialogs / LicenseAgreementDlg I have selected my german eula and in localization dialog "always translate this string / using specified localization identifier:" = "Control.Text.LicenseAgreementDlg#AgreementText".
Now in "Files and Folders" I go my xml file and click on properties. In localization dialog I set there "always translate this string / using specified localization identifier:" = "File.application.xml".
Now I create ail-file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="multilanguage" ignore="de">
<ENTRY id="Control.Text.LicenseAgreementDlg#AgreementText">
<STRING lang="en" value="D:\Work\myfirm\myproject\installer\windows\EULA myprojet Pro_EN.rtf"/>
<STRING lang="de" value="D:\Work\myfirm\myproject\installer\windows\EULA myproject Pro_DE.rtf"/>
</ENTRY>
<ENTRY id="File.application.xml">
<STRING lang="en" value="D:\Work\myfirm\myproject\installer\windows\application_en.xml"/>
<STRING lang="de" value="D:\Work\myfirm\myproject\installer\windows\application_de.xml"/>
</ENTRY>
</DICTIONARY>
and add it in translation/dictionaries.
Now try to build the package and in result I get this error:
DefaultBuild
Creating MSI database... done.
Creating MSI database... error.
Exception - Reason: Invalid MSI Filename string [D:\Work\myfirm\myproject\installer\windows\application_en.xml].
Build finished because an error was encountered.
Please note, that all paths are correct and these files exists on appropriate locations.
Also, if for this xml file I set "never translate this string", then installer is created and I have installer with 2 eulas on different languages...
But how can I have installer, which also can put different files into target directory, depend on the language selected?
Thank you.
Igor.
FOLLOW US
Get the latest news in Application Packaging