免费高清特黄a大片,九一h片在线免费看,a免费国产一级特黄aa大,国产精品国产主播在线观看,成人精品一区久久久久,一级特黄aa大片,俄罗斯无遮挡一级毛片

分享

How to Install Locales

 Leseo 2024-03-04 發(fā)布于湖北

Installing additional locales enables you to use PHP's setlocale() function so various other functions, such as localeconv() and strftime(), will return text formatted for a specific language or region.

Listing the Installed Locales

To list the installed locales, SSH into your server and run the command:

locale -a

The output of that command will look like this, though your installed locales may be different from the ones shown here:

# locale -a
C
C.UTF-8
en_US.utf8
fr_BE.utf8
fr_CA.utf8
fr_FR.utf8
nl_BE.utf8
nl_NL.utf8
POSIX

Installing a New Locale

To install a new locale, SSH in as root and run the command:

sudo apt-get install language-pack-XX

Replace "XX" in the above command with the locale you want to install; for example, to install the Spanish locale, use this command as root:

sudo apt-get install language-pack-es

Once installed, you must restart each PHP version your apps are using so your apps will be able to see the newly installed locale. For example, to restart PHP 7.0, use this command as root:

sudo service php7.0-fpm-sp restart

Available Locales

You can list all locales available for installation with the command:

apt-cache search language-pack- | grep -v -E -- '-kde|-base|-gnome'

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多