[JIRA] Created: (CAL-15) The variant part of Locale is ignored

The variant part of Locale is ignored ------------------------------------- Key: CAL-15 URL: http://jira.qos.ch/browse/CAL-15 Project: CAL10N Issue Type: Bug Reporter: Sascha Broich Assignee: Ceki Gulcu The Locale has a variant part which is currently not evaluated by the ResourceBundleFinder. This has to be changed to keep it consistent with the Java ResourceBundle behaviour. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/CAL-15?page=com.atlassian.jira.plugin.system.issue... ] Rick Beton commented on CAL-15: ------------------------------- FYI the resource bundle lookup is deliberately simpler in Cal10N (http://cal10n.qos.ch/manual.html#simplifiedLookup). However, the manual doesn't mention that the variant (/region) component is ignored. Either the variant should be treated as per standard ResourceBundle, or the difference should be clearly documented. The KISS principle has been applied but arguably not sufficiently justified yet. IMHO, because Locale supports a variant, Cal10N should do so too, in spite of the KISS principle.
The variant part of Locale is ignored -------------------------------------
Key: CAL-15 URL: http://jira.qos.ch/browse/CAL-15 Project: CAL10N Issue Type: Bug Reporter: Sascha Broich Assignee: Ceki Gulcu
The Locale has a variant part which is currently not evaluated by the ResourceBundleFinder. This has to be changed to keep it consistent with the Java ResourceBundle behaviour.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/CAL-15?page=com.atlassian.jira.plugin.system.issue... ] Ceki Gulcu commented on CAL-15: ------------------------------- Hello Sascha, My assumption was that no one ever uses the 'variant' part in a locale. I gather that my assumption is wring and that you actually use the 'variant' part of locale?
The variant part of Locale is ignored -------------------------------------
Key: CAL-15 URL: http://jira.qos.ch/browse/CAL-15 Project: CAL10N Issue Type: Bug Reporter: Sascha Broich Assignee: Ceki Gulcu
The Locale has a variant part which is currently not evaluated by the ResourceBundleFinder. This has to be changed to keep it consistent with the Java ResourceBundle behaviour.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/CAL-15?page=com.atlassian.jira.plugin.system.issue... ] Sascha Broich commented on CAL-15: ---------------------------------- Hello Ceki, Yes, I use the variant part of the locale. That's when it comes to installations for different customers where some static texts have different content. And as far as I investigated, that's the reason the variant part is for. For the code the change it's marginal, just two or three times copy+paste+adapt.
The variant part of Locale is ignored -------------------------------------
Key: CAL-15 URL: http://jira.qos.ch/browse/CAL-15 Project: CAL10N Issue Type: Bug Reporter: Sascha Broich Assignee: Ceki Gulcu
The Locale has a variant part which is currently not evaluated by the ResourceBundleFinder. This has to be changed to keep it consistent with the Java ResourceBundle behaviour.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/CAL-15?page=com.atlassian.jira.plugin.system.issue... ] Sascha Broich updated CAL-15: ----------------------------- Attachment: CAL10NResourceBundleFinder.diff
The variant part of Locale is ignored -------------------------------------
Key: CAL-15 URL: http://jira.qos.ch/browse/CAL-15 Project: CAL10N Issue Type: Bug Reporter: Sascha Broich Assignee: Ceki Gulcu Attachments: CAL10NResourceBundleFinder.diff
The Locale has a variant part which is currently not evaluated by the ResourceBundleFinder. This has to be changed to keep it consistent with the Java ResourceBundle behaviour.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
participants (3)
-
Ceki Gulcu (JIRA)
-
Rick Beton (JIRA)
-
Sascha Broich (JIRA)