Home
Name Modified Size InfoDownloads / Week
README.txt 2014-04-16 1.8 kB
Localisation.dll 2014-04-16 12.8 kB
Localisation_Sources.zip 2014-04-16 12.3 kB
Totals: 3 Items   27.0 kB 0
Localisation.dll
Assembly for software localization in Framework .Net 4.5

Author : Dusk
Copyright : Little Dragoon 2014

/******************************************** Installation [French] ******************************************************
Installation de la librairie de Localisation:
- Ajouter la dll comme référence à votre projet

- Editer le code du fichier c.csproj	
	Ajouter juste après la balise <Project> :
	
	<UsingTask AssemblyFile[Chemin de Localisation.dll]" TaskName="LocalisationTask" /> 
	
	Ajouter juste avant la balise </Project> :
	
	<Target Name="BeforeBuild">
		<LocalisationTask ApplicationDir="[Chemin de l'application]" DefaultCulture="[Culture de l'application]" />
	</Target>

- Pour tous les textes à traduire, préfixer avec 'Loc::' : "Mon texte" -> "Loc::Mon texte"

- Régénérer la solution pour créer les fichiers de ressource Localisation.resx et Localisation.[DefaultCulture].resx

- Ajouter les fichiers de ressource au projet.



/******************************************** Installation [English] ******************************************************

Install of the assembly Localisation:
- Add the dll as a reference to your project

- Edit c.csproj code file,
	Add just after the tag <Project> :
	
	<UsingTask AssemblyFile[Chemin of Localisation.dll]" TaskName="LocalisationTask" /> 

	Add just before the tag <Project> :
	
	<target Name="BeforeBuild">
		<LocalisationTask ApplicationDir="[Chemin to application]" DefaultCulture="[Culture to application]" />
	</ Target>

- For all texts to translate, prefixe with 'Loc ::': "My Text" -> "Loc :: My Text"

- Rebuild Solution to create the resource files Localisation.resx and Localisation.[DefaultCulture].resx

- Add the resource files to your project.
Source: README.txt, updated 2014-04-16