⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme-nls

📁 linux下查看系统工具原码,如IOSTAT等
💻
字号:
WHAT IS NLS?------------NLS stands for National Language Support. It encompasses the features that makea program able to support different languages and cultural habits.This touches the messages displayed on the screen, but also the format used todisplay the dates or the numbers for example.HOW I ENABLE NLS WITH SYSSTAT?------------------------------That's easy: Answer 'y' (for 'yes') to the question:"Enable National Language Support (NLS)? [y]"during configuration stage ('make config').Beginning with sysstat release 3.2.2, NLS is now enabled by default.OK, BUT HOW DO I USE IT NOW?------------------------------You have to set your LANG environment variable to the proper value.E.g.:	France: fr_FR	Germany: de_DE	Spain: es_ES	Brazil: pt_BR	South Africa: af_ZA	Norway: nb_NO or nn_NO	Italy: it_IT	Russia: ru_RU	Romania: ro_RO	Poland: pl_PL	Slovakia: sk_SK	Japan: ja_JPalthough other possibilities exist.If you use bash and you want to configure your system for a french environment,enter:$ export LANG=fr_FR('$' is the prompt).If you use the (Tab) C shell, you would have entered:% setenv LANG fr_FR('%' is the prompt).Here is a complete example with iostat:$ export LANG=en_US$ iostat -V sysstat version 5.1.4(C) Sebastien GodardUsage: iostat [ options... ] [ <interval> [ <count> ] ]Options are:[ -c | -d ] [ -k ] [ -m ] [ -t ] [ -V ] [ -x ][ { <device> [ ... ] | ALL } ] [ -p [ { <device> | ALL } ] ]$ export LANG=fr_FR$ iostat -Vsysstat version 5.1.4(C) Sebastien GodardUtilisation: iostat [ options... ] [ <intervalle> [ <it閞ations> ] ]Options possibles:[ -c | -d ] [ -k ] [ -m ] [ -t ] [ -V ] [ -x ][ { <device> [ ... ] | ALL } ] [ -p [ { <device> | ALL } ] ]HOW CAN I ADD A NEW LANGUAGE TO SYSSTAT?----------------------------------------At the present time, sysstat is translated into English, French, German,Spanish, Portuguese, Afrikaans, Norwegian, Italian, Russian, Romanian,Polish, Slovak and Japanese.To add another language, copy an existing Portable Object file (LANG.po) inone of your directories (you can copy the file named fr.po for instance).Update the header of that file to give your name and email address.Then you have to translate all the messages quoted in the lines beginningwith the 'msgid' token...Last, mail me this file for inclusion in the next release of sysstat!For more information, read the documentation coming with the GNU 'gettext'package (enter 'info gettext').--Sebastien Godard (sysstat <at> wanadoo.fr)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -