Windows installers translations

From Mumble Wiki
Revision as of 21:15, 4 October 2012 by DD0T (talk | contribs) (Some info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adding a new one

  • Copy installer/Translations/English.wxl and rename it to your target language (e.g. German.wxl).
  • Open the file with a UTF-8 capable editor (e.g. Notepad++, make sure the Encoding is UTF-8).
  • Locate the LCID number for your language here and replace the English LCID with it. E.g.:
<String Id="LANG">1033</String>

to

<String Id="LANG">1031</String>
  • Translate all String tags. E.g.:
<String Id="MUMBLE_CREATE_SHORTCUT">Create Desktop Shortcut</String>

to

<String Id="MUMBLE_CREATE_SHORTCUT">Desktop-Verknüpfung erstellen</String>
  • Add your language to installer/MumbleInstall.wixproj . E.g.:
...
<EmbeddedResource Include="Translations\French.wxl" />
<EmbeddedResource Include="Translations\Italian.wxl" />
...

to

...
<EmbeddedResource Include="Translations\French.wxl" />
<EmbeddedResource Include="Translations\German.wxl" />
<EmbeddedResource Include="Translations\Italian.wxl" />
...
  • Add your LCID to the language list in installer/Product.wxl . E.g.:
   <Package Id="*" InstallerVersion="300" Compressed="yes" Languages="0,1028,1029,1030,1031,1033,1034,1036,1040,1041,1043,1044,1045,1046,1049,1053,2052" />


Editing one

The translations are contained in the installer/Translations/*.wxl files. E.g. German.wxl for the German translation.