[ 
https://issues.apache.org/jira/browse/HADOOP-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647075#action_12647075
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4164:
------------------------------------------------

> Nicholas, how did you get relative paths working?

I had not use relative paths when I built the Chinese doc. I just have replaced 
all fopfonts path /usr/local/share/fopfonts/... to some other absolute path, so 
that I didn't need admin access to create a share directory.

Tried to find out how to make relative path works for Cocoon. However, the 
result is negative. It seems that this is a known missing feature. See
- http://mail-archives.apache.org/mod_mbox/forrest-dev/200808.mbox/[EMAIL 
PROTECTED]
- https://issues.apache.org/jira/browse/COCOON-1542

We could define a variable and replace it in runtime by a script, i.e.:
# Define a variable, say FOPFONT_HOME, and use it in the xml and other source 
files.
# In "ant docs", run a script to replace FOPFONT_HOME with something like 
`pwd`/src/docs/cn/fopfont/

BTW, I have uploaded the generated Chinese doc from the current patch to 
http://people.apache.org/~szetszwo/4164build/site/ for other reviewers' 
convenient.

> Chinese translation of core docs
> --------------------------------
>
>                 Key: HADOOP-4164
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4164
>             Project: Hadoop Core
>          Issue Type: Wish
>          Components: documentation
>            Reporter: Xuebing Yan
>            Assignee: Xuebing Yan
>         Attachments: HADOOP-4164.patch, HADOOP-4164.patch, HADOOP-4164.patch, 
> test-patch.log
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> There are many active Chinese users in Hadoop community, a Chinese 
> translation of the core docs will be very helpful to Hadoop newbies and 
> experienced Hadoop users as well. Our team(Distributed [EMAIL PROTECTED] 
> Search Center) have just worked out a translation of  r0.17.x, now we're 
> updating it to r0.18 and r0.19.
> The translation covers all the files under xdocs directory in the repos. 
> Thus, we will have a Chinese version for each main doc, and leave the API 
> docs, Wiki, FAQ, Mailing Lists, Release Notes, All Changes as is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to