Yeah, I found way to make a multilingual MSI installer:
http://www.codeproject.com/Articles/103749/Creating-a-Localized-Windows-Installer-Bootstrap
Pretty hard, but really cool. So it seems we will be able to ship a
unique windows installer that uses the correct language at runtime (or
in fact two, one for 32bits and the other for 64bits)
Currently what needs to be done now:
1) find a way to transform wxl files (wix localization files) to a
format transifex can read.
The best choice is probably a po file.
I had a hard time to use okapi, finally got a test project on transifex
with the strings to translate using a po file, but I am unable to
convert it back to wxl :(
jus, can you help me with that ?
the other solution is to try to transform it with a little of vbscript
or powershel (yuck), that doesn't seems too complicated (on linux, I
would have it done in 5 minutes with perl or even bash).
2) try embedding multi languages in installer.
I will try with french and english.
If someone can send me the german translation of the attached file too
(I know there are german-speaking people here) before we get it on
transifex, it would be great and let me try with more than 2 languages.
thanks,
sb
Le 02/01/2016 21:36, S.Brandt a écrit :
Reading [1] and [2], i understand that we need the wix toolset to
extract *.wxl translation templates for each language to be supported.
Unfortunately, Transifex does not support the wxl format for import [3].
Might be possible to convert wxl templates to a format Transifex
supports, and vis-a-vis after translation, using the Okapi framework
[4] though.
Can investigate tomorrow (CET) if needed.
[1]
http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/build_a_localized_version.html
[2]
http://wixtoolset.org/documentation/manual/v3/wixui/wixui_localization.html
<http://wixtoolset.org/documentation/manual/v3/wixui/wixui_localization.html%20,%20i%20understand%20you%C2%A0>
[3] http://docs.transifex.com/formats/
[4] http://www.opentag.com/okapi/wiki/index.php?title=Filters
jus
On Jan 2, 2016, at 6:38 PM, Sébastien Blaisot <mi...@blaisot.org
<mailto:mi...@blaisot.org>> wrote:
I built english and french installers, but I will need more
translations. Can somebody explain me how to extract strings and make
a file suitable for transifex ?
We can maybe publish it to transifex as a new resource ?
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="en-us" Codepage="1252"
xmlns="http://schemas.microsoft.com/wix/2006/localization">
<!-- Supported language and codepage codes can be found here:
http://www.science.co.il/Language/Locale-codes.asp -->
<String Id="Language">1033</String>
<!-- Programm informations -->
<String Id="ApplicationName">Mixxx</String>
<String Id="ManufacturerName">Mixxx</String>
<String Id="ManufacturerFullName">The Mixxx Development Team</String>
<String Id="ProductDescription">Open-source Digital DJ software</String>
<String Id="Comments">Installs Mixxx</String>
<!-- Error messages -->
<!-- DO NOT BREAK LINES BECAUSE LINE BREAKS WILL SHOW UP AS-IS IN THE INTERFACE -->
<String Id="OS2Old">This product requires Windows XP or above.</String>
<String Id="NewerInstalled">The same or a newer version of this product is already installed.</String>
<String Id="x64VersionRequired">You need to install the 64-bit version of this product on 64-bit Windows.</String>
<String Id="x86VersionRequired">You need to install the 32-bit version of this product on 32-bit Windows.</String>
<String Id="x86VersionWarning">You are about to install the 32-bit version on a 64-bit operating system. We recommend using the 64-bit version for better performance. You can download the 64-bit installation package from http://mixxx.org/download/</String>
<String Id="XPWarning">You are installing Mixxx on an outdated operating system. Some functions may not work well or at all. We recommend upgrading your operating system.</String>
<String Id="bitWidthMismatch32">You are about to install the 32-bit version but a 64-bit one is already installed. This can lead to undesired behavior.
Please un-install the existing Mixxx first, or download the 64-bit installation package to upgrade (unless you know exactly what you are
doing.)</String>
<String Id="bitWidthMismatch64">You are about to install the 64-bit version but a 32-bit one is already installed. This can lead to undesired behavior. Please un-install the existing Mixxx first, or download the 32-bit installation package to upgrade (unless you know exactly what you are doing.)</String>
<String Id="OlderVersionFound">An older version of Mixxx has been detected. As we changed installer, we can not smoothly upgrade. Please uninstall older version before installing this one.</String>
<!-- Custom Warning Dialog -->
<String Id="WarningDlgTitle">{\WixUI_Font_Title}Warning</String>
<!-- Features translations -->
<String Id="FeatureCompleteDescription">The complete package.</String>
<String Id="FeatureMainProgramTitle">Core application</String>
<String Id="FeatureMainProgramDescription">The core Mixxx application including controller presets.</String>
<String Id="FeatureDesktopShortcutTitle">Desktop Shortcut</String>
<String Id="FeatureDesktopShortcutDescription">Add a shortcut to Mixxx on your desktop</String>
<String Id="FeatureManualTitle">User Manual</String>
<String Id="FeatureManualDescription">The Mixxx user manual in PDF form, also available at http://mixxx.org/manual/</String>
<String Id="FeatureTranslationsTitle">Translations</String>
<String Id="FeatureTranslationsDescription">Resource files that allow Mixxx to display in alternate languages, other than US english</String>
</WixLocalization>
------------------------------------------------------------------------------
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel