On the Languages tab are selected English and Dutch. I clicked on the [Create...] button
It's actually the Create button in Dictionaries tab. I updated Mihai's post.
Uh....I want to generate "a dictionary containing just the strings that need to be translated into the build languages," right? That's the description from the help file for the button on the
Languages tab. Dutch and German are listed on the Languages tab and their dictionaries are on the Dictionaries tab. Doesn't that mean that they are registered languages?
The button on the Dictionaries tab is to "create a dictionary for an unregistered language" and contains every string in the installer, right? When I used that feature, I got a .ail with more than 3300 lines.
Dutch may not be a good example because so little of it has apparently been translated. So I ran the same tests with German. Note that the translation to the string on ExitDialog ("MyProduct has been successfully installed") is known to come out in English at runtime so it is missing a translation.
ATTEMPT #!: So I ran the [Create..] option on the Languages tab, choose "German (Germany)" as the target language and got a file with 5 records, including "Spring.Control.Text.ExitDialog#Description" :
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="multilanguage" ignore="en">
<ENTRY id="Spring.Control.Text.ExitDialog#Description">
<STRING lang="en" value="[ProductName] has been successfully [Finish1]."/>
<STRING lang="de" value=""/>
</ENTRY>
<ENTRY id="Property.ARPCOMMENTS">
<STRING lang="en" value="This installer database contains the logic and data required to install [|ProductName]."/>
<STRING lang="de" value=""/>
</ENTRY>
<ENTRY id="Property.Manufacturer">
<STRING lang="en" value="Wholly Genes Software"/>
<STRING lang="de" value=""/>
</ENTRY>
<ENTRY id="Property.ProductName">
<STRING lang="en" value="The Master Genealogist v8"/>
<STRING lang="de" value=""/>
</ENTRY>
</DICTIONARY>
ATTEMPT #2: Then I ran the [Create...] option on the Dictionaries tab and chose "German (Germany)" as the target language. I got a file with 3 records, NONE of which make any reference to ExitDialog :
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="multilanguage" ignore="en">
<ENTRY id="Control.Text.FatalError#LogCheckBox">
<STRING lang="en" value="Show log"/>
<STRING lang="de" value=""/>
</ENTRY>
<ENTRY id="UIText.InstallMessage">
<STRING lang="en" value="Installing files."/>
<STRING lang="de" value=""/>
</ENTRY>
<ENTRY id="UIText.SharePointLogActivatingFeature">
<STRING lang="en" value="Activating feature [1]."/>
<STRING lang="de" value=""/>
</ENTRY>
</DICTIONARY>
ATTEMPT #3: I noticed in the previous attempt that the target language selector now has four sub-choices for German:
German (Switzerland)
German (Austria)
German (Luxembourg)
German (Liechtenstein)
Those options were not selected in ATTEMPT #2 so I checked them (plus the parent record of "German (Germany)") and ran it again. This time I got a file with more than 11000 lines. I won't post it all here in the interest of space but here are three notable records:
Code: Select all
<ENTRY id="Control.Text.FatalError#LogCheckBox">
<STRING lang="en" value="Show log"/>
<STRING lang="de" value=""/>
<STRING lang="de_AT" value=""/>
<STRING lang="de_CH" value=""/>
<STRING lang="de_LU" value=""/>
<STRING lang="de_LI" value=""/>
</ENTRY>
<ENTRY id="UIText.InstallMessage">
<STRING lang="en" value="Installing files."/>
<STRING lang="de" value=""/>
<STRING lang="de_AT" value=""/>
<STRING lang="de_CH" value=""/>
<STRING lang="de_LU" value=""/>
<STRING lang="de_LI" value=""/>
</ENTRY>
<ENTRY id="UIText.SharePointLogActivatingFeature">
<STRING lang="en" value="Activating feature [1]."/>
<STRING lang="de" value=""/>
<STRING lang="de_AT" value=""/>
<STRING lang="de_CH" value=""/>
<STRING lang="de_LU" value=""/>
<STRING lang="de_LI" value=""/>
</ENTRY>
These are the _only_ records in the file that have a line for lang="de".
SUMMARY: So ATTEMPT #1 (the Create option on the Languages tab) seems to do what I want for German. That is, it generates a file with English strings that haven't yet been translated to German. But (a) you tell me that it is not the feature I want and (b) per my previous message, if I do the same thing for Dutch, then I get a trivial file that doesn't include the known English lines for which Dutch translations are missing.
ATTEMPT #2 (the Create option on the Dictionaries tab), the feature which you tell me I shoudl use, doesn't include a string that is known to be missing a German translation. When generated for Dutch, it includes 3300 lines which I am reluctant to ask anyone to translate until I'm confident that it is going to help. For that, I need to understand why the same process doesn't work for German.
I don't know what to make of ATTEMPT #3 since it doesn't help to translate the missing strings to "German (Germany)", i.e., lang="de".
FOLLOW US
Get the latest news in Application Packaging