Our installs support multiple languages and we would like to add a few
languages that are not currently supported: English (United Kingdom, en-gb)
and Spanish (Mexican, es-mx)

We created the two new .wxl files using the WixLocalization Culture="en-gb"
and Culture="es-mx"

Then using Studio 2010 to build the WiX install project we get a bunch of
errors, ie:
..\UIExtension\wixlib\BrowseDlg.wxs(18,0): error LGHT0102: The localization
variable !(loc.WixUIOK) is unknown.  Please ensure the variable is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(22,0): error LGHT0102: The localization
variable !(loc.WixUICancel) is unknown.  Please ensure the variable is
defined.
..\UIExtension\wixlib\BrowseDlg.wxs(26,0): error LGHT0102: The localization
variable !(loc.BrowseDlgComboLabel) is unknown.  Please ensure the variable
is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(30,0): error LGHT0102: The localization
variable !(loc.BrowseDlgWixUI_Bmp_Up) is unknown.  Please ensure the
variable is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(30,0): error LGHT0102: The localization
variable !(loc.BrowseDlgWixUI_Bmp_UpTooltip) is unknown.  Please ensure the
variable is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(33,0): error LGHT0102: The localization
variable !(loc.BrowseDlgNewFolder) is unknown.  Please ensure the variable
is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(33,0): error LGHT0102: The localization
variable !(loc.BrowseDlgNewFolderTooltip) is unknown.  Please ensure the
variable is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(37,0): error LGHT0102: The localization
variable !(loc.BrowseDlgPathLabel) is unknown.  Please ensure the variable
is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(38,0): error LGHT0102: The localization
variable !(loc.BrowseDlgBannerBitmap) is unknown.  Please ensure the
variable is defined.
..\UIExtension\wixlib\BrowseDlg.wxs(41,0): error LGHT0102: The localization
variable !(loc.BrowseDlgDescription) is unknown.  Please ensure the variable
is defined.
.. etc

I guessed these are occurring because those variables are not located in my
.wxl file and since they are not supported by WiX that they are not already
transtated for those locals..

So is there a way to override these variables so that they do NOT have to be
added to the .wxl file?

I did try the following in the .wxl file: WixLocalization
Culture="en-gb;en-us"

Is this the correct method in Studio to override the language so that it
will fall back to a native language that already has the variables declared
and translated?

The build did seem to pass at this point, but again would this be the
correct way to handle non-translated languages?

For Spanish (Mexican) I set the file for the following: WixLocalization
Culture="es-mx;es-es" so that it will fall back to Spanish Spain.

Again if there is a better way to support this then can someone let me know?

Also I noticed the output folder for the languages would be set exactly how
the Culture is set so the folders would be: en-gb;en-us and es-ms;es-es. It
would be nice to simply set the folder to the first culture specified.

Thanks for any help on this issue.

Tim Mayert.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adding-Languages-wxl-files-Culture-en-gb-and-Culture-es-mx-has-issues-tp7582671.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to