From owner-freebsd-doc Sat Aug 31 7:10:21 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B01EB37B400 for ; Sat, 31 Aug 2002 07:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8E0243E4A for ; Sat, 31 Aug 2002 07:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7VEA2JU039994 for ; Sat, 31 Aug 2002 07:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7VEA2ha039993; Sat, 31 Aug 2002 07:10:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C69F537B400 for ; Sat, 31 Aug 2002 07:05:03 -0700 (PDT) Received: from Kain.sumuk.de (Kain.sumuk.de [213.221.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9350443E6A for ; Sat, 31 Aug 2002 07:05:02 -0700 (PDT) (envelope-from vincent@Kain.sumuk.de) Received: from Kain.sumuk.de (localhost [127.0.0.1]) by Kain.sumuk.de (8.12.5/8.12.5) with ESMTP id g7VE50bn016459 for ; Sat, 31 Aug 2002 16:05:01 +0200 (CEST) (envelope-from vincent@Kain.sumuk.de) Received: (from vincent@localhost) by Kain.sumuk.de (8.12.5/8.12.5/Submit) id g7VE50Zi016458; Sat, 31 Aug 2002 16:05:00 +0200 (CEST) Message-Id: <200208311405.g7VE50Zi016458@Kain.sumuk.de> Date: Sat, 31 Aug 2002 16:05:00 +0200 (CEST) From: Martin Heinen Reply-To: Martin Heinen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/42251: [PATCH} various fixes for l10n/chapter.sgml Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42251 >Category: docs >Synopsis: [PATCH} various fixes for l10n/chapter.sgml >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 31 07:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Martin Heinen >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD Kain.sumuk.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Aug 12 13:45:36 CEST 2002 toor@Kain.sumuk.de:/usr/obj/usr/src/sys/KAIN i386 >Description: - Reworded section explaining LANG: The handbook should not state what is possible in theory. Setting LANG does not set any of the LC_* environment variables. - config -> configuration - clarify first paragraph of 'Administrator Level Setup' - changed XTT-common to provide a link to the port description - FFS filesystem doubles filesystem - use tag for configure - use tag for XtSetLanguageProc - chinese/* isn't a port >How-To-Repeat: Read the localization chapter. >Fix: Index: chapter.sgml =================================================================== RCS file: /u/cvs/doc/en_US.ISO8859-1/books/handbook/l10n/chapter.sgml,v retrieving revision 1.79 diff -u -r1.79 chapter.sgml --- chapter.sgml 6 Aug 2002 17:35:28 -0000 1.79 +++ chapter.sgml 31 Aug 2002 12:55:36 -0000 @@ -211,14 +211,13 @@ Setting Locale - Theoretically, one only needs to export the value of his/her - locale name as LANG in the login shell and is - usually done through the user's - ~/.login_conf or the user login shell - configuration (~/.profile, + Usually it is sufficient to export the value of the locale name + as LANG in the login shell. This could be done in + the user's ~/.login_conf file or in the + startup file of the user's shell (~/.profile, ~/.bashrc, ~/.cshrc). - This should set all of the locale subsets (such as - LC_CTYPE, LC_CTIME, etc.). Please + There is no need to set the locale subsets such as + LC_CTYPE, LC_CTIME. Please refer to language-specific FreeBSD documentation for more information. @@ -239,8 +238,8 @@ - This includes the user shell config, the specific application - config, and the X11 config. + This includes the user shell configuration, the specific application + configuration, and the X11 configuration. Setting Locale Methods @@ -310,8 +309,9 @@ Administrator Level Setup - Check that /etc/login.conf have the - correct language user's class. Make sure these settings + Verify that the user's login class in + /etc/login.conf sets the correct + language. Make sure these settings appear in /etc/login.conf: language_name:accounts_title:\ @@ -502,7 +502,7 @@ 0xd0-0xd3 range in the character set. If your language uses this range, you need to move the cursor's range outside of it. To enable the workaround for FreeBSD versions before 5.0, insert the following - line into your kernel config: + line into your kernel configuration: options SC_MOUSE_CHAR=0x03 @@ -626,7 +626,7 @@ Displaying Fonts X11 True Type font server - Install the X11 True Type-Common server (XTT-common) and + Install the X11 True Type-Common server (x11-servers/XttXF86srv-common) and install the language truetype fonts. Setting the correct locale should allow you to view your selected language in menus and such. @@ -656,7 +656,7 @@ Kernel and File Systems - The FreeBSD FFS filesystem is 8-bit clean, so it can be used + The FreeBSD fast filesystem (FFS) is 8-bit clean, so it can be used with any single C chars character set (see &man.multibyte.3;), but there is no character set name stored in the filesystem; i.e., it is raw 8-bit and does not @@ -693,7 +693,7 @@ Makefile configured with the specific charset. This is usually done in the Makefile or done by passing a value to - configure in the source. + configure in the source. @@ -773,8 +773,8 @@ Printer Setup printers Since most printers with Russian characters come with - hardware code page CP866, a special output filter is needed for - KOI8-R -> CP866 conversion. Such a filter is installed by + hardware code page CP866, a special output filter is needed + to convert from KOI8-R to CP866. Such a filter is installed by default as /usr/libexec/lpr/ru/koi2alt. A Russian printer /etc/printcap entry should look like: @@ -884,8 +884,8 @@ note for more information. The Russian XKB keyboard may also not work with non-localized applications as well. Minimally localized applications - should call a XtSetLanguageProc (NULL, NULL, - NULL); function early in the program. + should call a XtSetLanguageProc (NULL, NULL, + NULL); function early in the program. See KOI8-R for X Window for more instructions on @@ -901,7 +901,7 @@ Traditional Chinese localization The FreeBSD-Taiwan Project has an I18N/L10N tutorial for FreeBSD at http://freebsd.sinica.edu.tw/~ncvs/zh-l10n-tut/ - using many chinese/* applications. + using many Chinese ports. The editor for the zh-L10N-tut is Clive Lin Clive@CirX.org. You can also cvsup the following collections at Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message