From docs-return-12931-archive-asf-public=cust-asf.ponee.io@httpd.apache.org Tue Feb 26 11:28:07 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1282F18062C for ; Tue, 26 Feb 2019 12:28:06 +0100 (CET) Received: (qmail 11154 invoked by uid 500); 26 Feb 2019 11:28:06 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 11144 invoked by uid 99); 26 Feb 2019 11:28:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2019 11:28:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A87F6C2CAE for ; Tue, 26 Feb 2019 11:28:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LUnULnV3IqQA for ; Tue, 26 Feb 2019 11:28:03 +0000 (UTC) Received: from jupiter.hal-nine-zero-zero-zero.net (jupiter.hal-nine-zero-zero-zero.net [212.227.252.63]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 2768B623E1 for ; Tue, 26 Feb 2019 11:28:03 +0000 (UTC) Received: (qmail 29855 invoked from network); 26 Feb 2019 11:28:02 -0000 Received: from unknown (HELO news.perlig.de) (212.227.252.63) by jupiter.hal-nine-zero-zero-zero.net with SMTP; 26 Feb 2019 11:28:02 -0000 From: =?ISO-8859-1?Q?Andr=E9?= Malo To: docs@httpd.apache.org Subject: Re: Translating Korean Documentation Date: Tue, 26 Feb 2019 12:28:02 +0100 Message-ID: <155127391.7pc3aErQ2h@finnegan> Organization: TIMTOWTDI In-Reply-To: References: <2932110.GX2RaWEWCB@chryseis> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Dienstag, 26. Februar 2019 11:30:53 CET Lucien Gentis wrote: > Hi, >=20 > First, let's wait for some korean file to commit. >=20 > Summary for switching fr language to UTF-8 : >=20 > 1. Replace all occurrences of "ISO-8859-1" by "UTF-8" in following files : > manual/style/manual.fr.xsl > manual/style/xsl/util/designations.xml (only for fr line) > manual/style/lang/fr.xml >=20 > 2. Replace all occurrences of "html.fr" by "html.fr.utf8" in following > files : >=20 > manual/style/xsl/util/designations.xml > manual/style/lang-targets.xml > manual/style/lang/fr.xml Actually, just change lang/fr.xml (both for encoding and extension) and the= n=20 run `build bootstrap`. That should cover all this. Originally it was made for adding new languages, but of course, changes go= =20 the same way. >=20 > 3. Rename all *.html.fr files to *.html.fr.utf8 through "svn mv ..." > command then rebuild (am I right, Andr=E9 ?) check. >=20 > 4. Change svnmailer:content-charset property of manual/ through this > command : >=20 > svn pe svnmailer:UTF-8 manual svn pe svnmailer:content-charset manual On Folders it allows for elaborate globs for all the expected files. On files it allows only setting it for that file: svn ps svnmailer:content-charset UTF-8 lang/fr.xml and then commit. (and now I hope, I didn't miss anything :-) Cheers, >=20 > Le 25/02/2019 =E0 21:23, Andr=E9 Malo a =E9crit : > > William A Rowe Jr wrote: > >> On Mon, Feb 25, 2019 at 11:11 AM Andr=E9 Malo wrote: > >>> In this case it might be wise to script it and do all those things at > >>=20 > >> the same time: > >>> - change svnmailer config (somewhere in the svn properties) > >>> - possibly change the httpd.conf, but I think, we're good there > >>=20 > >> Correct, neither of the above should be needed, when the output > >> file is named .utf8 and we already correctly process the individual > >> language tags before processing the charset (including for svnmailer, > >> I would hope!) > >=20 > > The svnmailer is pretty much agnostic when it comes to extensions. Just > > looked up the config and here's the one for the main manual files: > >=20 > > $ svn pg svnmailer:content-charset manual/ > > # charsets to recognize by the svnmailer > >=20 > > # Korean > > *.xml.ko =3D euc-kr > > *.html.ko.euc-kr =3D euc-kr > > [...] > >=20 > > If you look at the full output, there is, however, potential for > > simplifcation>=20 > > :-) > >=20 > > The language files are special, they're configured individually: > >=20 > > $ svn pg svnmailer:content-charset manual/style/lang/*.xml > > [...] > > manual/style/lang/ko.xml - euc-kr > > [...] > >=20 > > Cheers, > > nd >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org > For additional commands, e-mail: docs-help@httpd.apache.org =2D-=20 package Hacker::Perl::Another::Just;print qq~@{[reverse split/::/ =3D>__PACKAGE__]}~; # Andr=E9 Malo # http://pub.perlig.de # --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org