Thanks! I found WixUI_ar-ar.wxl from Wix 2.0 version. But it seems need more 
work to do before it can be used in wix 3.0. Assume I have a translated 
WixUI_ar-ar.wxl file, then do you know what steps should I follow to make 
things work? Shall I compile a private build of Wix or edit codepage somewhere 
and how?

Thanks,
Fan

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Monday, February 08, 2010 12:18 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to display right-to-left language like Arabic?

I looked at that page: ar-ar is listed as only available in wix 2.0. You appear 
to be using 3.x (based on the namespace in your .wxl file). "open" means that 
the language is available for someone to supply the translation for that 
language but it isn't assigned yet because no one has yet stepped forward/been 
approved.

You will probably have to take the WixUI_en-US.wxl file from the wix sources 
and translate it in its entirety to use ar-ar as a culture.

-----Original Message-----
From: Fan Zhang (UPG) [mailto:fanz...@microsoft.com] 
Sent: Monday, February 08, 2010 11:53 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to display right-to-left language like Arabic?

Seems the attachment is not shown. I put the key part of my projects as below:

In Product.wxs, it uses the localized string like this:

    ....
    <UI>
      <Dialog Id="InstallDlg" Width="370" Height="270" Title="[ProductName] 
[Setup]" NoMinimize="yes" RightToLeft="yes" >
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" 
Transparent="yes" NoPrefix="yes">
          <Text>!(loc.Title)</Text>
        </Control>
    ....


Then the ar-ar.wxl is like this:

<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="ar-ar" Codepage="1256" 
xmlns="http://schemas.microsoft.com/wix/2006/localization";>
        <String Id="Title">~٠عالبل   اغفييببب</String>
</WixLocalization>

Thanks,
Fan

-----Original Message-----
From: Fan Zhang (UPG) [mailto:fanz...@microsoft.com] 
Sent: Monday, February 08, 2010 11:31 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to display right-to-left language like Arabic?

Hi,



I want the installer to display right to left languages like Arabic. I created 
a simple wix project with Wix 3.0.5419.0 RTM version and tried three different 
languages: en-us, hu-hu and ar-ar. Both en-us and hu-hu worked as expected. But 
when I ran command as below for ar-ar,



light.exe -ext WixUIExtension -cultures:ar-ar -loc ar-ar.wxl -out Product.msi 
Product.wixobj



I got an error message:



Error 1     A string was provided with characters that are not available in the 
specified database code page '1256'. Either change these characters to ones 
that exist in the database's code page, or update the database's code page by 
modifying one of the following attributes: Product/@Codepage, Module/@Codepage, 
Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage.    
D:\Projects\WixProject1\WixProject1\Product.wxs 64    1      WixProject1



I think ar-ar is one of the supported languages according to page 
http://www.tramontana.co.hu/wix/loc/index.php. Can you please help looking at 
where it goes wrong?



Thanks,
Fan
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to