New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localized build for Kazakh not working #5685

Open
bingqiao opened this Issue Sep 20, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@bingqiao

bingqiao commented Sep 20, 2017

Tested this on WiX v3.11.

Running the following:
light -ext WixUIExtension Product.wixobj -cultures:kk-kz

A lot of this error:
C:\build\work\eca3d12b\wix3\src\ext\UIExtension\wixlib\ErrorDlg.wxs(9) : error LGHT0311 : A string was provided with characters that are not available in the specified database code page '1251'. 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.

I tried replacing the builtin WixUI_kk-KZ.wxl with one that has English contents and it built without error. But the error occurs the moment I put in one Kazakh character such as the қ (Ka with descender).

According to this Wiki, a modified code page 1251 is used for Kazakh Alphabets. And by the look of it, the standard code page 1251 may not have many of the characters used in the builtin WixUI_kk-KZ.wxl.

Any comments? Many thanks

@bingqiao

This comment has been minimized.

Show comment
Hide comment
@bingqiao

bingqiao Sep 20, 2017

Just tried changing the codepage to UTF-8 and it worked.
<WixLocalization Culture="kk-kz" Codepage="UTF-8" xmlns="http://schemas.microsoft.com/wix/2006/localization">

I think WiX 4 has the same issue.

bingqiao commented Sep 20, 2017

Just tried changing the codepage to UTF-8 and it worked.
<WixLocalization Culture="kk-kz" Codepage="UTF-8" xmlns="http://schemas.microsoft.com/wix/2006/localization">

I think WiX 4 has the same issue.

@barnson barnson added this to the v4.0 milestone Sep 28, 2017

@barnson barnson added bug wixui labels Sep 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment