Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 11188 invoked from network); 20 Mar 2008 19:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 19:59:51 -0000 Received: (qmail 20577 invoked by uid 500); 20 Mar 2008 19:59:45 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 20544 invoked by uid 500); 20 Mar 2008 19:59:45 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 20533 invoked by uid 99); 20 Mar 2008 19:59:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 12:59:45 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cristi.toth@gmail.com designates 209.85.146.177 as permitted sender) Received: from [209.85.146.177] (HELO wa-out-1112.google.com) (209.85.146.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 19:59:05 +0000 Received: by wa-out-1112.google.com with SMTP id l24so1501421waf.22 for ; Thu, 20 Mar 2008 12:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=xFbnSZ4y8szlP0sCr+Uxn6WW4Ddk5gln6/8wryZHdhc=; b=Iidst186PY2Cn9dd1bY3GcOCRAX79byucosoWw4TNI/zG7qkyXHuJ9bZ2BOyMRufQxgHNeAkC3an24BhImqC/bqs5tA1RMDDs+vygwXFpqFFDf3PO1SPB6SeoXhN2pGLuxjJJ1EB3w7Jsix4AmE+uFxhsxl/aF0U70oRI4JcxnY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PzHz03sdqB9itbHqwPi+BdWMmxvBd/GAwYquF0sf3MaX6PKw+id7U9a2gD1OQ6KBqChJwayRy/MqTruxJbsrTjzuFHJOmts0ptZ295iKMmmuXfUgrD87LBwRxm5tAbXTIPg16eyym69hk71D+YvV9yzOcDUoLUsX5aOEuwt6ReE= Received: by 10.114.112.1 with SMTP id k1mr4403539wac.24.1206043157049; Thu, 20 Mar 2008 12:59:17 -0700 (PDT) Received: by 10.114.108.4 with HTTP; Thu, 20 Mar 2008 12:59:16 -0700 (PDT) Message-ID: <5aca2d400803201259v4adaea59x9231c38f4e74310f@mail.gmail.com> Date: Thu, 20 Mar 2008 20:59:17 +0100 From: "Cristi Toth" To: "MyFaces Discussion" Subject: Re: Trinidad's components localization In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31945_7930189.1206043157036" References: <16173245.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31945_7930189.1206043157036 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline There is already support for localization in skinning. But there is no documentation about the translation keys. here are the text keys for the rangeChoice: "af_selectRangeChoiceBar.PREVIOUS_TIP"; "af_selectRangeChoiceBar.NEXT_TIP"; "af_selectRangeChoiceBar.PREV_DISABLED_TIP"; "af_selectRangeChoiceBar.NEXT_DISABLED_TIP"; "af_selectRangeChoiceBar.CHOICE_TIP"; "af_selectRangeChoiceBar.CHOICE_FORMAT_NO_TOTAL"; "af_selectRangeChoiceBar.CHOICE_FORMAT_TOTAL"; "af_selectRangeChoiceBar.PREVIOUS_OPTION"; "af_selectRangeChoiceBar.MORE_OPTION"; "af_selectRangeChoiceBar.SHOW_ALL"; the look here on how to use them: http://myfaces.apache.org/trinidad/devguide/skinning.html#Skinning_Text you can find the text skinning keys for a component in its renderer, on the bottom of the file you'll find some private static final Strings like: static private final String _PREVIOUS_DESC_KEY = "af_selectRangeChoiceBar.PREVIOUS_TIP"; hope it helps! cheers, On Thu, Mar 20, 2008 at 3:46 PM, Matthias Wessendorf wrote: > Hi > > We are about to update the translations. Oracle donated new for > several languages. > > Paperworks is already faxed to apache > > Sent from my iPod. > > Am 20.03.2008 um 08:09 schrieb "G.Cholakov" : > > > > > Hi guys, > > > > Does someone know is there a way to localize the Trinidad's tr:table > > page > > navigation links - by default they are Next and Previous, same for the > > contents of the combo between them? > > > > Same situation for tr:messages, which title shows Error or > > Information, I > > want to put my strings instead the default. > > > > Thanks > > -- > > View this message in context: > http://www.nabble.com/Trinidad%27s-components-localization-tp16173245p16173245.html > > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > -- Cristi Toth ------------- Codebeat www.codebeat.ro ------=_Part_31945_7930189.1206043157036 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline There is already support for localization in skinning.
But there is no documentation about the translation keys.

here are the text keys for the rangeChoice:
  "af_selectRangeChoiceBar.PREVIOUS_TIP";
  "af_selectRangeChoiceBar.NEXT_TIP";
  "af_selectRangeChoiceBar.PREV_DISABLED_TIP";
  "af_selectRangeChoiceBar.NEXT_DISABLED_TIP";
  "af_selectRangeChoiceBar.CHOICE_TIP";
  "af_selectRangeChoiceBar.CHOICE_FORMAT_NO_TOTAL";
  "af_selectRangeChoiceBar.CHOICE_FORMAT_TOTAL";
  "af_selectRangeChoiceBar.PREVIOUS_OPTION";
  "af_selectRangeChoiceBar.MORE_OPTION";
  "af_selectRangeChoiceBar.SHOW_ALL";

the look here on how to use them:
http://myfaces.apache.org/trinidad/devguide/skinning.html#Skinning_Text

you can find the text skinning keys for a component in its renderer,
on the bottom of the file you'll find some private static final Strings like:
static private final String _PREVIOUS_DESC_KEY =  "af_selectRangeChoiceBar.PREVIOUS_TIP";

hope it helps!

cheers,

On Thu, Mar 20, 2008 at 3:46 PM, Matthias Wessendorf <mwessendorf@gmail.com> wrote:
Hi

We are about to update the translations. Oracle donated new for
several languages.

Paperworks is already faxed to apache

Sent from my iPod.

Am 20.03.2008 um 08:09 schrieb "G.Cholakov" <georgi.cholakov@sirma.bg>:

>
> Hi guys,
>
> Does someone know is there a way to localize the Trinidad's tr:table
> page
> navigation links - by default they are Next and Previous, same for the
> contents of the combo between them?
>
> Same situation for tr:messages, which title shows Error or
> Information, I
> want to put my strings instead the default.
>
> Thanks
> --
> View this message in context: http://www.nabble.com/Trinidad%27s-components-localization-tp16173245p16173245.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>



--
Cristi Toth

-------------
Codebeat
www.codebeat.ro ------=_Part_31945_7930189.1206043157036--