26 Oct
2023
26 Oct
'23
18:10
On 2023-10-26 16:33, Aaron Digulla wrote:
Hi Carlos,
Thanks for the script. I've used LANG=C for a long time but that wasn't enough for zypper.
Create this script:
cer@Laicolasse:~> cat /usr/local/bin/ingles #!/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 DICTIONARY=english \ KDE_LANG=en_US.UTF-8 $*
I'd suggest to use "$@" instead of $* to preserve spaces:
#!/bin/sh LANG=en_US.UTF-8 \ LC_ALL=en_US.UTF-8 \ DICTIONARY=english \ KDE_LANG=en_US.UTF-8 \ "$@"
Ok :-) -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))