Koitajte sto katalogo /usr/share/locale
(h /usr/local/share/locale
)
sto susthma sas gia digrammata poy
aforoun tis yposthrizomenes xwres. 8a breite sigoyra gallika, ispanika, germanika, ollandika klp.
Proxwrhste sto ypokatalogo es
kai meta LC_MESSAGES
, dhladh /usr/share/es/LC_MESSAGES/
kai estw oti briskete to "fileutils.mo". Tote, exete yposthrijh gia ispanika sto ls, mkdir ktl.
Trejte
setenv LANGUAGE es
(gia osoys exoyn floio tcsh h symbato me csh) hexport LANGUAGE es
(gia osoys exoyn floio bash h symbato me sh)Twra trejte "ls --help" kai 8a deite ispanika mhnumata!
Se ayth th kathgoria mporei na briskontai oi xrhstes me palia ekdosh toy Linux.
Sto susthma sas mporei na yparxoyn perissoteroi katalogoi me plhrofories gia metafraseis programmatwn (katalogoi locale). To sunolo twn katalogwn poy elegxontai, orizetai me th metablhth periballontos NLSPATH. Panta yparxoyn kapoioi katalogoi poy to susthma caxnei ej orismou, oi opoioi exoyn proka8oristei sth basikh biblio8hkh toy systhmatos sas, th libc. Dokimaste "strace -o output.log ls --help" kai meta "grep open output.log" gia na deite poy caxnei to susthma. Meta ka8oriste analoga to NLSPATH.
Trejte
setenv LANGUAGE 'it:fr'
(gia osoys exoyn floio tcsh h symbato me csh) hexport LANGUAGE 'it:fr'
(gia osoys exoyn floio bash h symbato me sh)Se oles tis periptwseis, yparxei h telikh metaptwsh sthn agglikh.