densen2014 / ZXingBlazor

Using ZXing Scan barcode/QR code in blazor
Apache License 2.0
93 stars 39 forks source link

Change to English? #5

Closed vinit21 closed 3 years ago

vinit21 commented 3 years ago

Hello ,

It is beautiful project and perfectly working. Just few buttons are displayed in Chinese. How do I change to english? I am using Blazor Wasm.

yiyoMX commented 3 years ago

I support this.

densen2014 commented 3 years ago

you can take the source code change lable or something you want, no ploblem

densen2014 commented 3 years ago

now support set button text: code https://github.com/densen2014/ZXingBlazor/blob/master/Demo.Server/Pages/IndexEN.razor demo https://zxingblazor.app1.es/

    <BarcodeReader ScanResult="((e) => { BarCode=e; ShowScanBarcode = !ShowScanBarcode; })"
                   ShowScanBarcode="ShowScanBarcode"
                   Close="(()=>ShowScanBarcode=!ShowScanBarcode)" 
                   ScanBtnTitle="Scan"
                   ResetBtnTitle="Reset"
                   CloseBtnTitle="Close"
                   SelectDeviceBtnTitle="Select Device"
                   />

barcode

yiyoMX commented 3 years ago

Awesome! Thanks.

El jue., 13 de mayo de 2021 6:27 a. m., alex chow @.***> escribió:

now support set button text:

<BarcodeReader ScanResult="((e) => { BarCode=e; ShowScanBarcode = !ShowScanBarcode; })"
               ShowScanBarcode="ShowScanBarcode"
               Close="(()=>ShowScanBarcode=!ShowScanBarcode)"
               ScanBtnTitle="Scan"
               ResetBtnTitle="Reset"
               CloseBtnTitle="Close"
               SelectDeviceBtnTitle="Select Device"
               />

[image: barcode] https://user-images.githubusercontent.com/8428709/118119633-f6416000-b3ee-11eb-8537-ec356242f63b.jpg

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/densen2014/ZXingBlazor/issues/5#issuecomment-840496310, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRKWDPHGXXGI7FNG6J4KTLTNOZTRANCNFSM42CFOMPQ .