Sunday, May 5, 2024
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 80358  / 2 Years ago, thu, february 3, 2022, 3:06:48

A remote installed application has some encoding problems and on my local machine it is running fine.



What is the best way to "copy" my locales to the remote machine?



The locales on my personal machine are configured like this:



$ locale
LANG=de_DE.UTF-8
LANGUAGE=de_DE:en
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

More From » configuration

 Answers
2

The easier way



  1. Export all locales into a file


    locale > import



  2. Open file and add export at the start of each line



  3. Make it executable with the command chmod ugo+rx import



  4. Copy to desired profile and execute ./import




[#35313] Saturday, February 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ticeate

Total Points: 497
Total Questions: 128
Total Answers: 112

Location: Samoa
Member since Fri, Nov 27, 2020
4 Years ago
;