Locale

localeuniksowe narzędzie powłokowe. Wyświetla aktualne ustawienia zmiennych środowiskowych związanych z ustawieniami regionalnymi.

$ locale
LANG=pl_PL
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=

Znaczenie

LC_ALL
nadrzędna zmienna, jej ustawienie powoduje ustawienie pozostałych zmiennych, jeśli chce się ustawiać pozostałe indywidualnie ta powinna pozostać nieustawiona
LANG
deklaracja języka, np. programy przestawiają opisy menu na podstawie tej zmiennej, posługują się też czasami zmienną LANGUAGE
LC_CTYPE
typ znaków, zmienna odpowiedzialna za kodowanie znaków
LC_NUMERIC
separator dziesiętny między częścią całkowitą i ułamkową liczb
LC_TIME
format wyświetlania daty
LC_COLLATE
porządek znaków, ważny przy sortowaniu, działa na aktualną wersję sort
LC_MESSAGES
określa język, w jakim programy mają wyświetlać komunikaty (np. używające funkcji bibliotecznej gettext)
LC_PAPER
określa preferowany format arkusza wydruku (np. A4 lub letter)
LC_MEASUREMENT
określa system miar (system metryczny lub inny)

Linki zewnętrzne

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
Kembali kehalaman sebelumnya