Modification Method of Chinese Language Displayed after KDE Installation in CentOS7 System

Time:2019-8-13

After installing KDE on CentOS 7 system, the default display is English. The steps of revising it into Chinese are as follows:

1. View the available Chinese installation packages

#  yum list kde*chinese

2. Installing Chinese Packets

# yum install kde-l10n-Chinese.noarch

3. Modify the interface

In the system settings=> language family, add Simplified Chinese. The computer needs to be restarted.

Recommended Today

The method of obtaining the resolution of display by pyqt5

The code is as follows import sys from PyQt5.QtWidgets import QApplication, QWidget class Example(QWidget): def __init__(self): super().__init__() self.initUI() #Interface drawing to initui method def initUI(self): self.desktop = QApplication.desktop() #Get display resolution size self.screenRect = self.desktop.screenGeometry() self.height = self.screenRect.height() self.width = self.screenRect.width() print(self.height) print(self.width) #Show window self.show() if __name__ == ‘__main__’: #Create applications and objects app […]