WindowsXP-SP1/ds/ds/schema/scripts/dsplspec
2020-09-30 16:53:49 +02:00
..
040b.csv First commit 2020-09-30 16:53:49 +02:00
040b.inf First commit 2020-09-30 16:53:49 +02:00
040c.csv First commit 2020-09-30 16:53:49 +02:00
040c.inf First commit 2020-09-30 16:53:49 +02:00
040d.csv First commit 2020-09-30 16:53:49 +02:00
040d.inf First commit 2020-09-30 16:53:49 +02:00
040e.csv First commit 2020-09-30 16:53:49 +02:00
040e.inf First commit 2020-09-30 16:53:49 +02:00
041d.csv First commit 2020-09-30 16:53:49 +02:00
041d.inf First commit 2020-09-30 16:53:49 +02:00
041f.csv First commit 2020-09-30 16:53:49 +02:00
041f.inf First commit 2020-09-30 16:53:49 +02:00
0401.csv First commit 2020-09-30 16:53:49 +02:00
0401.inf First commit 2020-09-30 16:53:49 +02:00
0404.csv First commit 2020-09-30 16:53:49 +02:00
0404.inf First commit 2020-09-30 16:53:49 +02:00
0405.csv First commit 2020-09-30 16:53:49 +02:00
0405.inf First commit 2020-09-30 16:53:49 +02:00
0406.csv First commit 2020-09-30 16:53:49 +02:00
0406.inf First commit 2020-09-30 16:53:49 +02:00
0407.csv First commit 2020-09-30 16:53:49 +02:00
0407.inf First commit 2020-09-30 16:53:49 +02:00
0408.csv First commit 2020-09-30 16:53:49 +02:00
0408.inf First commit 2020-09-30 16:53:49 +02:00
409.csv First commit 2020-09-30 16:53:49 +02:00
409.inf First commit 2020-09-30 16:53:49 +02:00
409.loc First commit 2020-09-30 16:53:49 +02:00
0410.csv First commit 2020-09-30 16:53:49 +02:00
0410.inf First commit 2020-09-30 16:53:49 +02:00
0411.csv First commit 2020-09-30 16:53:49 +02:00
0411.inf First commit 2020-09-30 16:53:49 +02:00
0412.csv First commit 2020-09-30 16:53:49 +02:00
0412.inf First commit 2020-09-30 16:53:49 +02:00
0413.csv First commit 2020-09-30 16:53:49 +02:00
0413.inf First commit 2020-09-30 16:53:49 +02:00
0414.csv First commit 2020-09-30 16:53:49 +02:00
0414.inf First commit 2020-09-30 16:53:49 +02:00
0415.csv First commit 2020-09-30 16:53:49 +02:00
0415.inf First commit 2020-09-30 16:53:49 +02:00
0416.csv First commit 2020-09-30 16:53:49 +02:00
0416.inf First commit 2020-09-30 16:53:49 +02:00
0419.csv First commit 2020-09-30 16:53:49 +02:00
0419.inf First commit 2020-09-30 16:53:49 +02:00
0804.csv First commit 2020-09-30 16:53:49 +02:00
0804.inf First commit 2020-09-30 16:53:49 +02:00
0816.csv First commit 2020-09-30 16:53:49 +02:00
0816.inf First commit 2020-09-30 16:53:49 +02:00
0c0a.csv First commit 2020-09-30 16:53:49 +02:00
0c0a.inf First commit 2020-09-30 16:53:49 +02:00
combine.vbs First commit 2020-09-30 16:53:49 +02:00
copyinfs.cmd First commit 2020-09-30 16:53:49 +02:00
csv2inf.pl First commit 2020-09-30 16:53:49 +02:00
dcpromo.csv First commit 2020-09-30 16:53:49 +02:00
inf2csv.pl First commit 2020-09-30 16:53:49 +02:00
make-unlocalized-infs.cmd First commit 2020-09-30 16:53:49 +02:00
mkallcsv.cmd First commit 2020-09-30 16:53:49 +02:00
mkcsv.cmd First commit 2020-09-30 16:53:49 +02:00
nuke-display-specifiers.vbs First commit 2020-09-30 16:53:49 +02:00
readme.txt First commit 2020-09-30 16:53:49 +02:00
sch2csv.vbs First commit 2020-09-30 16:53:49 +02:00

This directory contains files needed to localize display-specifiers.

The tools were written by Steven Adler (SteveAd). 

Here is a brief description of the process/tools.

When private\ds\setup\schema.ini changes, follow these steps:

Open a bug for localization to pick up the change.  Assign it to yourself.

schema.ini needs to be groveled to have the localizable strings extracted
and placed into a file named 409.csv. The steps to do this are:

	cd /d %_NTBINDIR%\private\ds\setup\scripts\dsplspec
	cscript sch2csv.vbs -i:..\..\schema.ini -o:409.csv

Then, the 409.csv file needs to be groveled to extract strings in such a
form that locstudio can read them.  So we produce a 409.loc and 409.inf
file with the next command:

	perl csv2inf.pl 409.csv 409

Check in 409.csv, 409.inf, and 409.loc, using the bug you opened.  This is
a ssync-only checkin.

Assign the bug to localization (loc).  This should cause loc to pick up
409.inf from  the source tree and localize it.  Instruct loc to assign the
bug to you when localization is complete.

Wait for the bug to come back to you from loc.  They will supply you the
location of the localized inf files (e.g. \\sysloc\schema\<bld#>).  You need
to copy and rename those files by running the following:

	copyinfs \\sysloc\schema\<bld#>

Convert the localized .inf files into .csv files.  To this with:

	mkallcsv

Combine all the .csv files into one big .csv file for dcpromo to use.  This
big file is named dcpromo.csv

	cscript combine.vbs

You can test the resulting dcpromo.csv by doing the following:

	with LDP, delete all the objects subordinate to
	CN=DisplaySpecifiers,CN=Configuration,DC=your,DC=domain,DC=here

	* except * those in the CN=409 container, which are the English
	display specifiers.

	manually import the dcpromo.csv file with this command:

	csvde.exe -i -f dcpromo.csv -c DOMAINPLACEHOLDER <domain-dn>

	where <domain-dn> is the FQDN of the domain, e.g.
	DC=remond,DC=microsoft,DC=com

	check the csv.log file for errors.	

Check in *.inf *.csv using the bug you opened.  The check-in instructions
should include

	ssync
	bcz

which will binplace all the .csv files.
	
You now will wish to convince the DS guys to make schema.ini directly
localizable.