From dev-return-85911-archive-asf-public=cust-asf.ponee.io@sling.apache.org Tue Jan 23 13:47:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 05177180621 for ; Tue, 23 Jan 2018 13:47:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E905B160C4D; Tue, 23 Jan 2018 12:47:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3ADBB160C17 for ; Tue, 23 Jan 2018 13:47:03 +0100 (CET) Received: (qmail 92014 invoked by uid 500); 23 Jan 2018 12:47:02 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 92001 invoked by uid 99); 23 Jan 2018 12:47:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2018 12:47:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BBDCAC3AD7 for ; Tue, 23 Jan 2018 12:47:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -108.711 X-Spam-Level: X-Spam-Status: No, score=-108.711 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qTy55Ze5Ak0t for ; Tue, 23 Jan 2018 12:47:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id EB3B95F3B7 for ; Tue, 23 Jan 2018 12:47:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7F982E0D89 for ; Tue, 23 Jan 2018 12:47:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2EFD320EA9 for ; Tue, 23 Jan 2018 12:47:00 +0000 (UTC) Date: Tue, 23 Jan 2018 12:47:00 +0000 (UTC) From: "Konrad Windszus (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SLING-7429) Improve basename handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Konrad Windszus created SLING-7429: -------------------------------------- Summary: Improve basename handling Key: SLING-7429 URL: https://issues.apache.org/jira/browse/SLING-7429 Project: Sling Issue Type: Improvement Components: i18n Affects Versions: i18n 2.5.12 Reporter: Konrad Windszus Right now the basename handling according to https://sling.apache.org/documentation/bundles/internationalization-support-i18n.html#resourcebundle-with-base-names is as follows {quote} The base name argument can take one three values: # {{null}}, selects messages of mix:language nodes ignoring the existence or absence of sling:basename properties # Empty String, selects messages of mix:language nodes which have sling:basename properties, ignoring the actual values # Any other Value, selects messages of mix:language nodes whose sling:basename properties has any value which matches the base name string {quote} I think it should somehow be also possible for a client to explicitly select a resource bundle which is not having the {{sling:basename}} property set. This was originally triggered from https://issues.apache.org/jira/browse/SLING-7421?focusedCommentId=16335686&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16335686. -- This message was sent by Atlassian JIRA (v7.6.3#76005)