Ubuntu12.04 was newly installed. After updating the Language Pack, it was found that libreoffice could not be started. After searching, it was found that many people had this situation. Someone has provided a method to uninstall and re-install it. However, after trying, I found that my libreoffice still cannot be started. At this time, I suddenly thought that I had been clicking the icon in dashhome to start libreoffice. I don't know why libreoffice cannot be started, so I ran libre on the terminal.
Ubuntu 12.04 is installed. After the Language Pack is updated, it is found that libreoffice cannot be started. This situation is found by many people after searching.
Someone has provided a method to uninstall and re-install it. However, after trying, I found that my libreoffice still cannot be started. At this time, I suddenly thought that I had been clicking the icon in dash home to start libreoffice. I don't know why libreoffice cannot be started, so I ran libreoffice on the terminal.
At this time, the reason is clear: "ls: error initializing month strings". Through this sentence, we can preliminarily estimate that there is a problem with the date format, so we can think of it as a result of a language change. The following is my solution:
Change the/etc/default/locale file
LANG = "en_US.UTF-8"
LANGUAGE = "zh_CN.UTF-8"
LC_NUMERIC = "zh_CN.UTF-8"
LC_TIME = "en_US.UTF-8"
LC_MONETARY = "zh_CN.UTF-8"
LC_PAPER = "zh_CN.UTF-8"
LC_NAME = "zh_CN.UTF-8"
LC_ADDRESS = "zh_CN.UTF-8"
LC_TELEPHONE = "zh_CN.UTF-8"
LC_MEASUREMENT = "zh_CN.UTF-8"
LC_IDENTIFICATION = "zh_CN.UTF-8"
Specific meaning of each string, can refer to the http://www.linuxidc.com/Linux/2012-05/59665.htm of the 3rd items.
From this issue, we can see that, after a problem occurs, we should first figure out the cause of the problem, instead of simply looking at the problematic table image, and doing some blind searches may not solve the problem.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2