Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 54404 invoked from network); 28 Feb 2007 21:26:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 21:26:15 -0000 Received: (qmail 30412 invoked by uid 500); 28 Feb 2007 21:26:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 30389 invoked by uid 500); 28 Feb 2007 21:26:22 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 30378 invoked by uid 99); 28 Feb 2007 21:26:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 13:26:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of tobias.strasser@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 13:26:11 -0800 Received: by ug-out-1314.google.com with SMTP id p31so235423ugc for ; Wed, 28 Feb 2007 13:25:50 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gYX2cf8DuZsD1OYOuvI5V1BBApl8aBM6y8bDEt7baJrNxqoB7t4W2BT39+2H3KS2ojJRnBL0UqheLHMokgfEiIvIjZZ7ZJtszVZ4dpZwgKjNde/izvSaQCtT/ah0n4VDSEBBd1cE4r7qKkGZs3HJhREYfybOMY/7ceyhspqDlE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hGjrnSvjkvtM9d5XY2hIhLvaEd21S88RTO5hUsReoT49LFImxdUBkFRf+krS8Wuo9Ftx9y+Au433KIcfp6k6bzEfxmtx6aQKDRx+N6icDVaV5NH6BP+liZKEN+Yz9LpHwXEiUi5QuhCIVM8AQr0L/GNb43OKI+PrhOp0oFqcBog= Received: by 10.82.186.5 with SMTP id j5mr417781buf.1172697950444; Wed, 28 Feb 2007 13:25:50 -0800 (PST) Received: by 10.82.136.8 with HTTP; Wed, 28 Feb 2007 13:25:50 -0800 (PST) Message-ID: <8be731880702281325y28e142f9s8ee5f8d7387d8a37@mail.gmail.com> Date: Wed, 28 Feb 2007 22:25:50 +0100 From: "Tobias Bocanegra" Reply-To: tobias.bocanegra@day.com Sender: tobias.strasser@gmail.com To: users@jackrabbit.apache.org Subject: Re: Internationalization of property values In-Reply-To: <20070228200410.03DAD3A18@mail.globant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070228200410.03DAD3A18@mail.globant.com> X-Google-Sender-Auth: 4ef2adaa4d0a0e4e X-Virus-Checked: Checked by ClamAV on apache.org the most straightforward approach is to have a i18n node, called 'title' instead of just a property. that node contains the titles for all languages: + movie1 + title - en = "English Title" - fr = "French Title" - de = "German Title" regards, toby On 2/28/07, Waldemar Baraldi wrote: > > > Hi all, > > I want my nodes to have internationalizable properties. Let's say a node of type movie has a string property called 'title', I want to set the value to that property in different languages. I don't want to have multiple nodes (for the same movie) just to maintain translations. I believe the JCR standard doesn't support something like that. I'm thinking about how to implement something like this. > > Any help, ideas or shared experience will be greatly welcome. > > Thanks in advance. > > Waldemar > > > > > > > > Waldemar Baraldi > Software Developer > +54 11 4109 1700 ext: 8267 > waldemar.baraldi@globant.com > > > > > > -- -----------------------------------------< tobias.bocanegra@day.com >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---