Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
779 B

  1. rem Private batch file called by GENLOC.BAT
  2. setlocal
  3. set LANG=%1
  4. set LCID=%2
  5. set CP=%3
  6. set LOC_BIN=%4
  7. set LOC_EDB=%5
  8. set LOCCMD=%6
  9. set BINGENCMD=%7
  10. rem Create a new subdirectory for this language
  11. md %LOC_BIN%\%LANG%
  12. rem Execute the LocStudio command to generate localised binaries
  13. %LOCCMD% /U /G %LOC_EDB%\esent_%LANG%_%LCID%_%CP%_multi.edb /S -p %LOC_BIN% /T %LOC_BIN%\%LANG%
  14. rem Copy the localised binaries to a central location so that future
  15. rem localised binaries will also have this language (thus, we build
  16. rem up a multi-lang binary)
  17. copy %LOC_BIN%\%LANG% %LOC_BIN%
  18. rem Execute bingen to generate token files from the localised binaries
  19. %BINGENCMD% -w -p %CP% -f -t %LOC_BIN%\%LANG%\esent.dll %LOC_BIN%\%LANG%\esent_%LANG%.dl_ -i 0x%LCID%
  20. echo --------------------