A&D OP-11 Manual de Instalação Página 101

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 182
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 100
07/2011 2 Operating A&D DataManagement
2.5 HD component
© Siemens AG 2011 All Rights Reserved
SIMATIC A&D DataManagement Client - 07/2011
2-101
Adding a new language
Creating the disk in bfd.cmd:
The following code appears at the start of the batch file:
rem Set language file
echo Sprache / Language:
echo ------------------------
echo.
echo d - Deutsch
echo e - English
echo.
bin\bchoice -c:de -d:d Bitte waehlen / Please choose:
if errorlevel 1 goto :_en
:_de
set bfd_lng=de.lng
goto :_cm
:_en
set bfd_lng=en.lng
:_cm
With this, the language selected is displayed and set according to the selection.
If a new language is now added (e.g. Italian), the displayed text and selection
option must first be adapted:
rem Set language file
echo Sprache / Language:
echo ------------------------
echo.
echo d - Deutsch
echo e - English
echo i - Italiano
echo.
bin\bchoice -c:dei -d:d Bitte waehlen / Please choose:
Then the following instructions are added according to the selection:
if errorlevel 1 goto :_en
if errorlevel 2 goto :_it
:_de
set bfd_lng=de.lng
goto :_cm
:_en
set bfd_lng=en.lng
goto :_cm
:_it
set bfd_lng=it_lng
:_cm
With "if errorlevel 2 goto :_it" the program jumps to :_it and the
variable bfd_lng is set to it.lng. The errorlevel depends on the position of the
corresponding key in bin\bchoice -c:dei …. As the key for Italian (i) is located in the
3rd position here, errorlevel 2 indicates the selection of the i key (counting begins
at 0).
Vista de página 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 181 182

Comentários a estes Manuais

Sem comentários