| How to disable a language |
|
|
|
|
PHPMembers membership software supports multi-language. The system package comes with English and Simplified Chinese. This article demonstrates how to disable Simplified Chinese in the system. Language settings of the system are stored in /lib/config.inc.php. You can use any text editor to open the file and modify it. To disable Simplified Chinese, open the file and look for the following lines, $cfg['language'] = 'eng'; $cfg['languages']['0']['id'] = 'eng'; $cfg['languages']['0']['display'] = 'English'; $cfg['languages']['1']['id'] = 'simp_cn'; $cfg['languages']['1']['display'] = 'Chinese'; The first line defines the default language of the system. In this case, it is English. Available languages are stored in an array as above. Line #2 and #3 define the first available language as English, and its language ID is “eng”. The last two lines define the second available language as Chinese and its language ID as “simp_cn”. Remove these two lines to disable Simplified Chinese. |




