From owner-freebsd-translators@freebsd.org Wed Jan 6 19:14:35 2016 Return-Path: Delivered-To: freebsd-translators@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A327A6559E for ; Wed, 6 Jan 2016 19:14:35 +0000 (UTC) (envelope-from trig4800@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24A361C8D; Wed, 6 Jan 2016 19:14:32 +0000 (UTC) (envelope-from trig4800@gmail.com) Received: by mail-qk0-x231.google.com with SMTP id h11so16978709qke.1; Wed, 06 Jan 2016 11:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=R0GeMjJbx4rSroqBat/uf+E5Kqo8s6z4cALvlv8CgbA=; b=Tt9UyY/6069lfFUvkLwg9H2MF3UX5Hsmzog5MzYEzVJU8VzeVj9RoN23vXzJZJMNne LSPeFBtF/z9K4+cevo3m/ydMPNZLApmiLSKIF/HaVAF1rT4IgdGAtgvjOHkCEYy/Syoi SZ2gmTwSZ2I37NGg2QPdaljJS1q919cQJBfiipX3rKjNJLPV4iQcXzzuHrk8DwsB8hIt rhdASJMu57Y+QCGxB9RMmgF61wzCEXbPQif5vZzTAMzpt5G/tMkTRxKTJA9CquAWvot5 8WAcm6b1Wrtlk8AHkd0lK772lVBnZoTLIwB77KGB4gMdGNxQ71KBwwBE8XenSBrTprA9 jlGg== MIME-Version: 1.0 X-Received: by 10.129.50.199 with SMTP id y190mr81520815ywy.147.1452107671156; Wed, 06 Jan 2016 11:14:31 -0800 (PST) Received: by 10.37.224.71 with HTTP; Wed, 6 Jan 2016 11:14:31 -0800 (PST) Date: Thu, 7 Jan 2016 04:14:31 +0900 Message-ID: Subject: make po in handbook doesn't work From: Hoyoung Kim To: freebsd-translators@FreeBSD.org Cc: wblock@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 19:14:35 -0000 Hello :) I recently resumed Korean translation and got in trouble. I followed the instruction in 12.3. of fdp-primer( http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/po-translations-creating.html ) to generate PO files. This worked fine with some articles(bsdl-gpl, contributing and explaining-bsd) and books(developers-handbook, faq, fdp-primer and porters-handbook). However, I got the error when I tried to generate po for handbook: hwong@TeamAFK:~/freebsd-doc-kr/ko_KR.UTF-8/books/handbook % make po make: don't know how to make /usr/home/hwong/freebsd-doc-kr/en_US.ISO8859-1/books/handbook/mirrors.lastmod.inc. Stop I looked around for several files, but failed to fix. Makefile of handbook and current structure of Korean directory can be found here: https://github.com/kr-bsd/freebsd-doc-kr/blob/master/ko_KR.UTF-8/books/handbook/Makefile What should I do to create po file for handbook? Thank you, and Happy New Year! From owner-freebsd-translators@freebsd.org Wed Jan 6 20:39:46 2016 Return-Path: Delivered-To: freebsd-translators@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B8E9A6697B for ; Wed, 6 Jan 2016 20:39:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D0D021EEB; Wed, 6 Jan 2016 20:39:45 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u06KdiQj065954 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Jan 2016 13:39:44 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u06KdinE065951; Wed, 6 Jan 2016 13:39:44 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 6 Jan 2016 13:39:44 -0700 (MST) From: Warren Block To: Hoyoung Kim cc: freebsd-translators@FreeBSD.org, wblock@FreeBSD.org Subject: Re: make po in handbook doesn't work In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 06 Jan 2016 13:39:44 -0700 (MST) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 20:39:46 -0000 On Thu, 7 Jan 2016, Hoyoung Kim wrote: > Hello :) > > I recently resumed Korean translation and got in trouble.  I followed > the instruction in 12.3. of > fdp-primer(http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/po-translations-creating.html) > to generate PO files.  This worked fine with some articles(bsdl-gpl, > contributing and explaining-bsd) and books(developers-handbook, faq, > fdp-primer and porters-handbook). > > However, I got the error when I tried to generate po for handbook: > > hwong@TeamAFK:~/freebsd-doc-kr/ko_KR.UTF-8/books/handbook % make po > make: don't know how to make /usr/home/hwong/freebsd-doc-kr/en_US.ISO8859-1/books/handbook/mirrors.lastmod.inc. Stop > > I looked around for several files, but failed to fix.  Makefile of > handbook and current structure of Korean directory can be found here: > > https://github.com/kr-bsd/freebsd-doc-kr/blob/master/ko_KR.UTF-8/books/handbook/Makefile This looks okay, although there are a lot of things that can be removed. For any PO document, the SRCS only needs to be book.xml or article.xml. Makefile entries about chapters or calculating things can all be removed. That is not the problem here, but the extras need to be removed. The problem here is that the English version generates a list of FreeBSD mirrors, and the PO process does not see how to do create those nonexistent files. The rules to create them are in the English version's Makefile. > What should I do to create po file for handbook? For now, generate those files by hand in the English directory: % cd ~/doc/en_US.ISO8859-1/books/handbook/ % make make mirrors.lastmod.inc mirrors.xml.ftp.inc mirrors.xml.ftp.index.inc eresources.xml.www.inc eresources.xml.www.index.inc After this, creating the PO in the Korean directory works. > Thank you, and Happy New Year! Thank you, and Happy New Year to you also! From owner-freebsd-translators@freebsd.org Wed Jan 6 23:49:08 2016 Return-Path: Delivered-To: freebsd-translators@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6807AA64181 for ; Wed, 6 Jan 2016 23:49:08 +0000 (UTC) (envelope-from trig4800@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45BFE1149 for ; Wed, 6 Jan 2016 23:49:08 +0000 (UTC) (envelope-from trig4800@gmail.com) Received: by mail-pa0-x22f.google.com with SMTP id uo6so224412121pac.1 for ; Wed, 06 Jan 2016 15:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=8WS2dmomVIpooIAzlQeu/pQGMqsZAy7MnkdTCo1a55s=; b=CVuJTiOpApa5pU5cUTr57AXxNrioPx4NYuWblBOqBNpW8rXjEs1DentWMNfp9ZY/G4 /Ohvf5SdboVcf7sHG5IP/9a8NFWmkdvGyUaYjR5Wnm0ewsNwdbhIOnorb8dwJzd36Vmi 7s7NA4XQNkxSm/0WHHdBgT8HPhoFnjmIhL6u1rzQYbvTB+Nbya8OtSmY2SFroutMh/TS Gw/5UX1ZAhkGlOCuNxmuCDuQb2CsMM8D2ieQTe1nfIAeM7hNlTuhkCjfCv8N6RdC4bcN wCX2UzeskvZk20X4HK8DwQAApL+RSUsXzlIiyYC0Br+5G9teG+i2TVQUHIi137mR8tAt VJVA== X-Received: by 10.66.222.101 with SMTP id ql5mr146407443pac.144.1452124147793; Wed, 06 Jan 2016 15:49:07 -0800 (PST) Received: from [10.0.1.4] ([121.167.148.137]) by smtp.gmail.com with ESMTPSA id yn8sm144287192pac.32.2016.01.06.15.49.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jan 2016 15:49:07 -0800 (PST) Subject: Re: make po in handbook doesn't work To: Warren Block References: Cc: freebsd-translators@FreeBSD.org From: Hoyoung Kim Message-ID: <568DA7EE.4040302@gmail.com> Date: Thu, 7 Jan 2016 08:49:02 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 23:49:08 -0000 On Thu, 7 Jan 2016, Warren Block wrote: > On Thu, 7 Jan 2016, Hoyoung Kim wrote: > >> Hello :) >> >> I recently resumed Korean translation and got in trouble. I followed >> the instruction in 12.3. of >> fdp-primer(http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/po-translations-creating.html) >> >> to generate PO files. This worked fine with some articles(bsdl-gpl, >> contributing and explaining-bsd) and books(developers-handbook, faq, >> fdp-primer and porters-handbook). >> >> However, I got the error when I tried to generate po for handbook: >> >> hwong@TeamAFK:~/freebsd-doc-kr/ko_KR.UTF-8/books/handbook % make po >> make: don't know how to make >> /usr/home/hwong/freebsd-doc-kr/en_US.ISO8859-1/books/handbook/mirrors.lastmod.inc. >> Stop >> >> I looked around for several files, but failed to fix. Makefile of >> handbook and current structure of Korean directory can be found here: >> >> https://github.com/kr-bsd/freebsd-doc-kr/blob/master/ko_KR.UTF-8/books/handbook/Makefile >> > > This looks okay, although there are a lot of things that can be > removed. For any PO document, the SRCS only needs to be book.xml or > article.xml. Makefile entries about chapters or calculating things can > all be removed. That is not the problem here, but the extras need to > be removed. Oh, now I understood that more than I expected can be removed also -- I was just focusing on removing `SRC+= */chapter.xml` only. (Actually, I had problem when running `make FORMATS=html` which says `don't know how to make chapters.ent`. removing extra SRC+= * solved this problem :) > The problem here is that the English version generates a list of > FreeBSD mirrors, and the PO process does not see how to do create > those nonexistent files. The rules to create them are in the English > version's Makefile. > >> What should I do to create po file for handbook? > > For now, generate those files by hand in the English directory: > > % cd ~/doc/en_US.ISO8859-1/books/handbook/ > % make make mirrors.lastmod.inc mirrors.xml.ftp.inc > mirrors.xml.ftp.index.inc eresources.xml.www.inc > eresources.xml.www.index.inc > > After this, creating the PO in the Korean directory works. This solution (it seems that `make` is appropriate rather than `make make`) with trimming Makefile made the whole translation process working. Thanks! From owner-freebsd-translators@freebsd.org Sat Jan 9 00:44:02 2016 Return-Path: Delivered-To: freebsd-translators@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED086A684E2 for ; Sat, 9 Jan 2016 00:44:02 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A05CC1102 for ; Sat, 9 Jan 2016 00:44:02 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u090hso8094299 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Jan 2016 17:43:54 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u090hstF094296; Fri, 8 Jan 2016 17:43:54 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 8 Jan 2016 17:43:54 -0700 (MST) From: Warren Block To: RayCherng Yu cc: freebsd-translators@freebsd.org Subject: Re: About the FreeBSD website structure In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 08 Jan 2016 17:43:54 -0700 (MST) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2016 00:44:03 -0000 On Thu, 24 Dec 2015, RayCherng Yu wrote: > > This page: > https://docs.freebsd.org/mail/ That page is generated by a script somewhere on the cluster. It is not part of the docs, so I don't have access to it. We really should get rid of it, and use some other search feature so we don't have this problem every time a mailing list is added or removed. I'll send off a note. Thanks! > 2015/12/24 上午10:21於 "Warren Block" 寫道: > On Thu, 24 Dec 2015, RayCherng Yu wrote: > > I found freebsd-translators in not list in this page: > > https://www.freebsd.org/doc/en/books/developers-handbook/tools-make.html > > > That seems to be the wrong link.  Maybe a page with a list of mailing lists? > > I want to fix it. > I tried to find where to edit. but I cannot found that page. Is there any document page to explain the website structure. > > > Not really.  I started on an outline about this recently, but got distracted by other things.  And it was not very detailed, anyway. What we have is in the FDP Primer: > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/the-website.html > > The English one is in doc/en_US.ISO8859-1/htdocs/. > > If I could understand the website structure, maybe I can establish an Tranditional Chinese version. it is important that there is Traditional Chinese FreeBSD > website to attract some > FreeBSD fresh blood! > > > This would be very welcome. > > >