Return-Path: Delivered-To: apmail-incubator-shindig-dev-archive@locus.apache.org Received: (qmail 83160 invoked from network); 2 Dec 2008 03:04:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2008 03:04:46 -0000 Received: (qmail 32570 invoked by uid 500); 2 Dec 2008 03:04:57 -0000 Delivered-To: apmail-incubator-shindig-dev-archive@incubator.apache.org Received: (qmail 32545 invoked by uid 500); 2 Dec 2008 03:04:57 -0000 Mailing-List: contact shindig-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: shindig-dev@incubator.apache.org Delivered-To: mailing list shindig-issues@incubator.apache.org Received: (qmail 32534 invoked by uid 99); 2 Dec 2008 03:04:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 19:04:57 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 03:03:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2F0D8234C289 for ; Mon, 1 Dec 2008 19:03:44 -0800 (PST) Message-ID: <178204110.1228187024177.JavaMail.jira@brutus> Date: Mon, 1 Dec 2008 19:03:44 -0800 (PST) From: "Pan Jie (JIRA)" To: shindig-issues@incubator.apache.org Subject: [jira] Commented: (SHINDIG-541) Tiered message bundles In-Reply-To: <1403560709.1219766806458.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SHINDIG-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652250#action_12652250 ] Pan Jie commented on SHINDIG-541: --------------------------------- Here is an example gadget: http://hosting.gmodules.com/ig/gadgets/file/108293471617599476830/debug-messagebundle-10.xml > Tiered message bundles > ----------------------- > > Key: SHINDIG-541 > URL: https://issues.apache.org/jira/browse/SHINDIG-541 > Project: Shindig > Issue Type: Bug > Components: Gadget Rendering Server (PHP) > Reporter: Chris Chabot > Priority: Critical > Attachments: 20081201.patch, GadgetServer.php.patch, MessageBundleParser.php.patch > > > Currently shindig uses only one localization pack (whichever language pack matches the preffered language the closest), and uses only that for message tag substitution. > However the correct behavior should be that if a translation tag (__MSG_foo) is not found in the active language set, it should try the the next best match (so first en-US, then en-ALL, then ALL-ALL if the previous 2 failed) and use that for translation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.