[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: started translation of docs for persian

From: Lübbe Onken | RA Consulting <l.onken_at_rac.de>
Date: Tue, 17 Jun 2008 14:27:01 +0200

Hash: SHA1

Hi Mohsen,

You wrote:

> > like the fonts work. I will also set up something for chm,
> > but the fine-tuning has to be done by you :)
> please do, i will be glad to do the fine tuning if i have something to
> work with. I saw reference to an iqraa.ttf file in
> userconfig.template.xml. where can i get this file.

Just google for "download irqaa.ttf" :) But you don't really need it unless you want to.

It was the first font with arab chars that I found mentioned somewhere, so I started with it. Later I found out that Arial contains the arab chars too. That's what the three font.family lines in pdfdoc.xsl are for.

Concerning the chm help file. Look at the htmlhelp.xsl file for other languages. You have to define two settings for the output encoding:

Example from Chinese:
<xsl:param name="chunker.output.encoding" select="'GB18030'"/>
<xsl:param name="htmlhelp.encoding" select="'GB18030'"/>

Example from Russian:
<xsl:param name="htmlhelp.encoding" select="'windows-1251'"/>
<xsl:param name="chunker.output.encoding" select="'windows-1251'"/>

I can't tell you the proper value for Persian. I have submitted a stylesheet that uses Windows codepage 1256 (arab). The resulting CHM file looks good to me.

> i am currently d/l ing and installing the prerequisites , hope to have
> the env set up soon but until then...
>> For the time being (until the release) all language packs
> are enabled, so the Persian docs should be included.
> ...how can i get persian docs if they are enabled, i've tried
> installing the langpack from nightlies and no doc included. am i
> looking at the right place?

Looks like the Persian doc build gets aborted for some reason.
There's an error message in the nightly build log:

- ---SNIP---
[call] D:\Development\nightlybuilds\TortoiseSVN\Languages\LanguagePack.build(257,4):
[call] No match found for expression '^(?'langISO'[A-z_]+);[ \t]+(?'langCC'\d+);[ \t]+(?'langhelpfile'\d+);[ \t]+(?'langUI'.+);[ \t]+(?'langweb'.+);[ \t]+(?'langnative'.+)' in 'fa; 1065; 1; Persian Persian; Farsi'.
- ---SNIP---

I'll try to find out why it fails.

- - Lübbe

- --
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Version: GnuPG v1.4.7 (MingW32)


To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-06-17 14:27:11 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.