<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    You have to create your own packages using ours as a template.<br>
    Just replace adobe binaries in it.<br>
    <br>
    * If you are with Wapt < 1.5.1.21, you can :<br>
    - create one package for each language (package name must be
    different) and apply the right package to host depending on the
    machine locale.<br>
    - or create one single (biggest) package with all needed binaries in
    it, and include a test in install() to run the install if the right
    binary.<br>
    <br>
    <tt>from setuphelpers import *</tt><tt><br>
    </tt><tt><br>
    </tt><tt># there an implicit contextual variable named "language"
      which get a 2 letters lowercase locale code 'fr', or 'en' or 'de'
      or ..</tt><tt><br>
    </tt><tt>def install():</tt><tt><br>
    </tt><tt>    print(<b>language</b>)</tt><tt><br>
    </tt><tt>    if language == 'en':</tt><tt><br>
    </tt><tt>        binary_name = 'my_installer_adobe_<b>en</b>.msi'</tt><tt><br>
    </tt><tt>    elif language == 'de':</tt><tt><br>
    </tt><tt>        binary_name = 'my_installer_adobe_<b>de</b>.msi'</tt><tt><br>
    </tt><tt>    elif language == 'no':</tt><tt><br>
    </tt><tt>        binary_name = 'my_installer_adobe_<b>no</b>.msi'</tt><tt><br>
    </tt><tt>    else:</tt><tt><br>
    </tt><tt>        error('Language %s is not available' % <b>language</b>)</tt><tt><br>
    </tt><tt><br>
    </tt><tt>    install_msi_if_needed(binary_name)</tt><tt><br>
    </tt><br>
    * With wapt >= 1.5.1.21 you can create one package for each
    locale with same name (for example lav-adobereader) but with
    diffrent 'locale' attribute.<br>
    When updating available packages, Wapt agent will take in account
    only packages with locale either 'all' (or empty) or matching
    machine 2 letters locale.<br>
    So each package has only the localized binary (smaller) and you
    don't have to manually choose the right package depending of machine
    locale.<br>
     <br>
    Hubert<br>
    <br>
    <div class="moz-cite-prefix">Le 14/03/2018 à 16:39, Klaus Ade
      Johnstad a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:dd231114-59f9-6bc2-06eb-d0c3bb826148@linuxavdelingen.no">
      <pre wrap="">Is it possible to document how to change the language of packages
installed when you default to French? For example tis-adobereader
installs acroreader in French, but we need either German, English or
Norwegian.
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
WAPT mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>