jfcameron/jfc-nordvpn_icon

investigate locales

jfcameron opened this issue · 1 comments

is the nordvpn cli english only? If not then should replace hardcoded strings (e.g: "status") with a localization map in order to support other languages.

online help shows that commands and outputs are always english no matter locale. This is not ideal, since it means english outputs would have to be translated to local language within this project before presentation. The problem with this is outputs vary grealty. The country and city outputs are especially bad news here. Status data too is subject to change from verison to version. Any translation attempts would be brittle. It would be much better to set the locale then have the nordcli return proper data.

unfortunately I dont think it makes sense to support translation. translation should be done in the CLI, which I do not have access to as it is closed source.