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

Re: Arabic support

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-29 05:17:12 CET

On Nov 28, 2004, at 9:51 PM, gar wrote:
>
> Today I make the pitch to the manager that we migrate to Subversion
> (tortoiseSVN client) to handle VC and XML as our data format. This
> will work fine for English, but we also need Arabic support. I can
> handle translating the UI strings, but currently Subversion doesn't
> seem to like log messages in Arabic. I haven't tried using Arabic for
> properties yet.

I'm not sure what problems you're having: Subversion stores all log
messages and filenames as UTF8 in the repository. Subversion is
already "internationalized" to this degree -- you can use any language
or encoding you want for files and log messages. Just set your
client's locale to something that iconv can use to convert back and
forth between 'native' locale (some Arabic encoding system) and UTF8.
It's that simple.

At the moment, there's also a localization effort going on for several
languages, so that all errors and text printed to the user are
translated by gettext(). Nobody's done an Arabic translation yet, but
volunteers are certainly welcome.

> So my question is, can somebody familiar with the code give a rough
> estimate of the number of programmer hours it would take to provide
> Arabic support? It is possible I'll be able to get some (modest)
> funding, so if you're interested and available please let me know. No
> promises though at this point; I just think there's a very good
> business case that funding open-source Arabization of subversion and
> tortoiseSVN is the best way to solve our version control problems.
> This is something we would need relatively quickly, in the next few
> weeks if possible.

It looks like we're mostly there already.

>
> We also need a diff program that understands Arabic, so any estimates
> for adapting any diff tool to support Arabic with Subversion would be
> welcome.
>
>

This is going to be tricky. svn's internal diff abilities only work on
ascii or UTF8 data right now -- no other encodings. But svn has the
ability to use 'external' diff programs, so it should be relatively
straightforward to configure your users' svn clients invoke some sort
of Arabic diff tool.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 29 05:18:29 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.