Localization/Guide/ko

시간대
시간 속성을 유지하려면 시간대를 선택하여 시스템이 어디에 위치했는지를 알려야 합니다.

OpenRC
에서 시간대 정보를 찾아보십시오. 기대대로의 지역 이름이 나타나지 않는 시간대는 피하십시오. 예를 들어 는 실제로 GMT+8입니다.

브뤼셀 시간대를 사용한다고 가정해보겠습니다:

이제 여러분의 시간대를 지정하겠습니다:

systemd
systemd를 사용한다면  명령을 사용하여 시간대를 설정해야 합니다. 먼저 시간대 이름이 존재하는지 확인하십시오:

그 다음 시간대를 선택하십시오:

마지막으로  명령을 인자 없이 실행하여 결과를 확인하십시오:

하드웨어 시계
대부분의 젠투 리눅스 설치시, 하드웨어 클록을 UTC(또는 GMT, 그리니지 표준시)로 설정하고 실제 지역 시간을 결정하는 시간대를 계정에 부여합니다. 어떤 이류로 여러분의 하드웨어를 UTC로 설정하면 안될 수도 있는데 이 경우 를 편집해야 하고(또는 젠투 BSD를 사용한다면 ),  값을  에서  로 바꾸어야 합니다.

/etc/conf.d/hwclock에서 UTC 시계 사용

/etc/conf.d/hwclock에서 지역 시간대 사용

로케일이 무엇인가요?
A Locale is a set of information that most programs use for determining country and language specific settings. The locales and their data are part of the system library and can be found at on most systems. A locale name is generally named  where   is your two (or three) letter language code (as specified in ISO-639) and   is your two letter country code (as specified in ISO-3166). Variants are often appended to locale names, e.g.  or. Please explore Wikipedia to read more about locales and related articles.

로캘 환경 변수
The variables controlling different aspects of locale settings are given in the table below. All of them take one name of a locale in  format given above.

Most typically users only set the LANG variable on the global basis.

특정 로캘 생성
You will probably only use one or maybe two locales on your system. You can specify locales you will need in.

/etc/locale.gen에 로캘 추가

The next step is to run. It will generate all the locales you have specified in the file.

You can verify that your selected locales are available by running.

OpenRC
When using OpenRC locale settings are stored in environment variables. These are typically set in the (for system-wide settings) and  (for user-specific settings) file, and can be managed through. For instance, to set the  variable to the   value:

Of course, you can edit the file manually as well and diversify the locale variables.

Setting the default system locale in /etc/env.d/02locale

It's also possible, and pretty common especially in a more traditional UNIX environment, to leave the global settings unchanged, i.e. in the " " locale. Users can still specify their preferred locale in their own shell RC file:

Setting the user locale in ~/.bashrc

Another way of configuring system is to leave it in the default C locale, but enable UTF-8 character representation at the same time. This option is achieved using the following settings in :

Using traditional C locale while specifying UTF-8

Using the above snippet, users will be able to see localized file names properly, while not being forced to your preferred language.

Once you have set the right locale, be sure to update your environment variables to make your system aware of the change.

For a system-wide default locale:

For a user-specific locale:

After this, you will need to kill your X server by pressing, log out, then log in as user.

Now, verify that the changes have taken effect:

systemd
If you use systemd you should set your locale with the  command. Check the list of available locales with:

Then set the locale you want:

Finally check if the result is good:

OpenRC
콘솔에서 사용하는 키보드 배치는 파일에서   변수로 설정합니다. 유효한 값은 에서 찾을 수 있습니다. 에는 더 많은 하위 배치 분류가 있습니다(, 등). 어떤 언어는 다중 옵션을 가지고 있기 때문에 여러분이 필요로하는 어떤 방식이 적당하는지 결정하는데는 실험이 필요할지도 모릅니다.

콘솔 키맵 설정

systemd
systemd에서는  명령을 통해 사용하는 콘솔용 키맵 배치를 설정할 수 있습니다. 먼저 존재하는 키맵 배치가 무엇이 있는지 확인해보십시오:

다음 원하는 콘솔 키맵 배치를 설정하십시오:

마지막으로 콘솔 키맵 배치를 올바르게 설정했는지 확인하십시오:

X 서버용 키보드 배치
The keyboard layout to be used by the X server is specified in by the   option.

X 키맵 설정

If you have an international keyboard layout, you should set the option  to   or  , as this will allow mapping of the additional keys specific to your keyboard.

Deadkeys allow you to press keys that will not show immediately but will be combined with another letter to produce a single character. Setting  to   allows input these special characters into X terminals.

If you would like to switch between more than one keyboard layout (for example English and Russian), all you have to do is add a few lines to that specify the desired layouts and the shortcut command.

두 키보드 배치 전환

Here,  allows you to toggle between keyboard layouts by simply pressing. This will also toggle the Scroll Lock light on or off, thanks to the  option. This is a handy visual indicator of which keyboard layout you are using at the moment.

systemd
With systemd the keymap layout for the X11 server can be set using the  command. First check the available X11 keymap layouts:

Then set the X11 keymap layout you want:

Finally check if the X11 keymap layout was set correctly:

KDE
For KDE you have to install the  and   packages. These respect the described earlier.

콘솔에서 유로 심볼 사용하기
In order to get your console to display the Euro symbol, you will need to set  in  to a file found in  (without the   ). has the Euro symbol.

콘솔 글꼴 설정

You should verify that  is in the boot runlevel:

If no runlevel is displayed for , then add it to the proper level:

대부분의 프로그램
Getting the Euro symbol to work properly in X is a little bit tougher. The first thing you should do is change the  and   definitions in  to end in   instead of.

기본 X 글꼴 설정

Some applications use their own font, and you will have to tell them separately to use a font with the Euro symbol. You can do this at a user-specific level in (you can copy this file to  for use by new users), or at a global level for any application with a resource file in  (like xterm). In these files you generally have to change an existing line, rather than adding a new one. To change our xterm font, for instance:

(X)Emacs의 유로화 심볼
To use the Euro symbol in (X)Emacs, add the following to :

이맥스 글꼴 설정

For XEmacs (not plain Emacs), you have to do a little more. In, add:

xemacs 글꼴 설정

리버오피스
The current stable  and   ebuilds support the  for selecting installed GUI language packs. To see the status of GUI translation, hyphenation, spell checking and other localisations on your language, please refer to LibreOffice translation web site.

NLS
For message based localization to work in programs that support it, you will probably need to have programs compiled with the  (Native language support) USE flag set. Most of the programs using nls also need the gettext library to extract and use localized messages. Of course, Portage will automatically install it when needed.

After enabling the  USE flag you may need to re-emerge some packages:

LINGUAS
There is also additional localization variable called, which affects to localization files that get installed in gettext-based programs, and decides used localization for some specific software packages, such as   and. The variable takes in space-separated list of language codes, and suggested place to set it is :

A list of locales that can be used is provided as :

After setting the  USE flag you may need to re-emerge some packages:

자원
Xorg resources:
 * Keyboard layout inside the Evdev article

감사문
이 안내서에 제공한 노고에 대해 다음 작성자와 편집자분들께 감사의 말을 전하고자 합니다:


 * Alexander Holler
 * Steven Lucy
 * Benny Chuang
 * Lars Weiler
 * Tobias Scherbaum
 * Flammie Pirinen
 * nightmorph
 * klondike