openvpn-gui icon indicating copy to clipboard operation
openvpn-gui copied to clipboard

localisation broken

Open chipitsine opened this issue 2 years ago • 7 comments

image

built on win10 by VS 17.7.2

well. it does not happen when installing an installer from https://openvpn.net also, I'm curious, can we change 'графический интерфейс OpenVPN' --> 'OpenVPN' ?

chipitsine avatar Aug 29 '23 20:08 chipitsine

Do you use FAR, or is it Norton Commander? :)

This might be a duplicate of https://github.com/OpenVPN/openvpn-gui/issues/491. Looks like none of us have had time to investigate it.

I agree, Графический интерфейс looks completely unnecessary. Feel free to submit a PR.

lstipakov avatar Aug 30 '23 09:08 lstipakov

Do you use FAR, or is it Norton Commander? :)

This might be a duplicate of #491. Looks like none of us have had time to investigate it.

I agree, Графический интерфейс looks completely unnecessary. Feel free to submit a PR.

as I guess installers are built on en_us locale. while locally I use ru_ru. I'll check that.

that's FAR

ilia-shipitsin avatar Aug 30 '23 09:08 ilia-shipitsin

I added BOM to res/openvpn-gui-res-ru.rc and issue is gone

chipitsine avatar Aug 30 '23 17:08 chipitsine

I'll submit patch for sussian localization. for other I'd suggest to wait for feedback

chipitsine avatar Aug 30 '23 17:08 chipitsine

@selvanair , do you know somehow whether BOM is supposed to be there or maybe some automatic validation "that is good rc file"

chipitsine avatar Aug 30 '23 17:08 chipitsine

@selvanair , do you know somehow whether BOM is supposed to be there or maybe some automatic validation "that is good rc file"

We use pragma code_page(65001) so that all res files should get interpreted as UTF-8. We do not do any validation during build. But that doesn't appear to be the issue here as the content of the rc files appear to be valid UTF-8 and local builds I have tested displays these correctly.

Why some builds lead to corrupted text and some not is unclear to me.

selvanair avatar Aug 30 '23 17:08 selvanair

Dear @OpenVPN,

Have you progressed on this problem?

Neustradamus avatar Feb 08 '24 01:02 Neustradamus