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

RE: svn commit: r1515023 - /subversion/branches/1.8.x/STATUS

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 19 Aug 2013 15:42:15 +0200

+1 on that creating localized strings from such small strings is not the right way.

Bert

-----Original Message-----
From: "Branko Čibej" <brane_at_wandisco.com>
Sent: ‎19-‎8-‎2013 09:50
To: "dev_at_subversion.apache.org" <dev_at_subversion.apache.org>
Subject: Re: svn commit: r1515023 - /subversion/branches/1.8.x/STATUS

On 19.08.2013 08:45, Ben Reser wrote:
> On Sun Aug 18 18:23:17 2013, Ivan Zhakov wrote:
>> Do we localize commas in current code? (I do not have source code
>> acces now)
> Not that I'm aware of but I can say that '%s' is turned into »%s« in
> German. Branko has already given an example of a locale where commas
> would be changed. I see no reason not to do this the right way now.

It was Daniel actually. And yes, we do localize commas, there are any
number of translated messages with commas (or colons) in them.

And you don't have to go very far afield to find a locale where ": "
would not translate to two bytes; IIRC Spanish requires a space before
the colon, making it " : ".

I do have to say however that the way we assume sentence structure in
that code is going to give translators headaches (again). It is always
wrong to construct sentences from smaller pieces, even if those pieces
themselves are translated.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-08-19 15:44:04 CEST

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.