Re: [WiX-users] Localization with WiX3
anwer nehal wrote: > I was reading through the latest documentation about WiX3 localization and > noticed that it mentions under "Using Localized Versions of WixUI" that if > you are using WixUIExtension, it has translated strings and .wxl files for > some languages, like de-de, ja-jp, etc. With this in mind, I set the culture > correctly and tried to build but it fails. How does it fail? -- sig://boB http://joyofsetup.com/ -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Localization with WiX3
I was reading through the latest documentation about WiX3 localization and noticed that it mentions under "Using Localized Versions of WixUI" that if you are using WixUIExtension, it has translated strings and .wxl files for some languages, like de-de, ja-jp, etc. With this in mind, I set the culture correctly and tried to build but it fails. Do I still need separate .xml files? If I use .wxl files along with WixUIExtension (for WinUI_Mondo), it builds fine. What I am trying to find out is how to build it without additional .wxl if I already have a reference added for WixUIExtension. Can someone plese let me know? Thanks ANK _ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Localization with WiX3
Thanks you! I was confused by the fact that I was only getting errors with German, Spanish and Dutch because I thought those translations were complete. By adding these missing items to my own 1031.wxl file I was able to build an MSI. The February 15, 2008 version of the WiX source requires these additions for a WixUI_InstallDir build (true for Spanish and Dutch as well): http://schemas.microsoft.com/wix/2006/localization"; Codepage="1252" Culture="de-DE"> [ProductName] Setup WixUI_Ico_Info Information icon Installation directory must be on a local hard drive. [ProductName] kann nicht entfernt werden. [ProductName] kann nicht repariert werden. Ordner|Neuer Ordner -- View this message in context: http://www.nabble.com/Localization-with-WiX3-tp15489213p15614709.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Localization with WiX3
On Thu, 14 Feb 2008 21:59:20 +0100, Markus Kuehni wrote: Markus, > Strangely the localizations files from the version 2 are not > mirrored into the 3.x releases. Maybe someone at the project could > offer a reason for this? I keep asking Bob from time to time when the UI part of v3 will cease to be a moving target so that we can mobilize our previous translators again (or find new ones if some of them can't find the time to help with the new version) to upgrade the localization files. But the light is not yet green... Bye, Gábor --- DEÃK JAHN, Gábor -- Budapest, Hungary E-mail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Localization with WiX3
>Bob Arnson wrote: > Because, as you note, they don't work without modification. Ok, but then you should probably remove WixUI_de-de.wxl as well. It was very confusing for me to have German *half* working and French *not at all*. Whatever, the thread will hopefully clarify this for others. And thanks to all of you for all the efforts! _Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Localization with WiX3
Markus Kuehni wrote: > Strangely the localizations files from the version 2 are not mirrored into > the 3.x releases. Maybe someone at the project could offer a reason for > this? > Because, as you note, they don't work without modification. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Localization with WiX3
Hi Because it was not obvious to me and because I didn't find a solution using Google, I'll post my findings here. If you want to localize your UI with WiX version 3 and need more than US-English, German, Spanish or Dutch you're stuck. Strangely the localizations files from the version 2 are not mirrored into the 3.x releases. Maybe someone at the project could offer a reason for this? My solution may be completely wrong in terms of Wix philosophy (I'm a newbie) so be free to correct me. However it seems to work for me (so far). You need to take the localization file(s) from the the WiX version 2 (not 3) sources here: http://wix.sourceforge.net/releases/ Choose the latest 2.x release and download the wix2-sources.zip Unzip and got to wix2-sources\src\ui\wixui Take the WixUI_??-??.wxl file(s) of your choice and copy them to your project. Because WiX version 3 adds some new localization variables, you need to add yet another .wxl (or append to the above) with the following content (German example; Thanks to MustrumRidcully): http://schemas.microsoft.com/wix/2006/localization"; > [ProductName] kann nicht repariert werden. [ProductName] kann nicht entfernt werden. Ordner|Neuer Ordner Let's assume we save this into ??-??.wxl Add the following options to your light.exe command-line: -loc WixUI_??-??.wxl -loc ??-??.wxl Note: if you've got a language that is already included in version 3 (like German) you might want to ommit the first part to get the translations from the installed localization. Note2: all this will at some time (soon, hopefully) be obsolete and wrong, so be prepared to remove it after installing a future release of WiX3. Hope that helps (it would have saved half a day for me). _Mark Keywords: WiX3 WixLocalization Culture -loc -cultures WixUI_ar-ar.wxl wixui_cs-cz.wxl WixUI_da-dk.wxl WixUI_de-de.wxl wixui_el-gr.wxl WixUI_en-us.wxl WixUI_es-es.wxl wixui_fi-fi.wxl wixui_fr-fr.wxl WixUI_hu-hu.wxl wixui_it-it.wxl wixui_iw-il.wxl wixui_ja-jp.wxl wixui_ko-kr.wxl WixUI_nl-nl.wxl wixui_no-no.wxl wixui_pl-pl.wxl wixui_pt-br.wxl wixui_pt-pt.wxl wixui_ru-ru.wxl wixui_sv-se.wxl wixui_tr-tr.wxl WixUI_uk-ua.wxl wixui_zh-cn.wxl wixui_zh-tw.wxl error LGHT0102 : The localization variable !(loc.MaintenanceTypeDlgRemoveDisabledText) is unknown. Please ensure the variable is defined. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users