WPF Localization using LocBaml

WPF Localization can be achieved via the following steps.

  1. Add UICulture node to project file. ( <Project><PropertyGroup><UICulture>en-US</UICulture> … )
  2. Create Localization IDs for the resources (msbuild /t:updateuid TestProj.csproj )
  3. Create CSV file from en-US resource (LocBaml /parse TestProj.g.en-US.resources /out:en-US.csv)
  4. Create new satellite assembly (LocBaml /generate TestProj.resources.dll /trans:fr-CA.csv /cul:fr-CA)

No Comments

Leave a reply