[
http://mifosforge.jira.com/browse/MIFOS-4746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65996#comment-65996
]
Mifos Hudson Jira Plugin User commented on MIFOS-4746:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.png!
[head-master-secondary
#100|http://ci.mifos.org/hudson/job/head-master-secondary/100/]
WIP on MIFOS-4746. Very simple spike of initial dynamic substitution for
legacy Mifos labels and menus.
WIP on MIFOS-4746. Added class
MessageFilterReloadableResourceBundleMessageSource to allow substitutions on
Spring message lookups.
Van Mittal-Henkle :
Files :
*
application/src/main/java/org/mifos/framework/components/mifosmenu/MenuTag.java
* application/src/main/java/org/mifos/framework/util/helpers/LabelTagUtils.java
Van Mittal-Henkle :
Files :
*
appdomain/src/main/java/org/mifos/framework/util/MessageFilterReloadableResourceBundleMessageSource.java
* appdomain/src/main/java/org/mifos/application/master/MessageLookup.java
*
application/src/main/java/org/mifos/framework/components/mifosmenu/MenuTag.java
* appdomain/src/main/resources/org/mifos/config/resources/messageSourceBean.xml
* application/src/main/java/org/mifos/framework/util/helpers/LabelTagUtils.java
> spike per-word/per-phrase message overriding
> --------------------------------------------
>
> Key: MIFOS-4746
> URL: http://mifosforge.jira.com/browse/MIFOS-4746
> Project: mifos
> Issue Type: Story
> Components: Internationalization, Localization
> Reporter: Adam Monsen
> Assignee: Van Mittal-Henkle
>
> h1. Intro
> The current implementation of labels in Mifos [is broken|MIFOS-2989]. But
> customers depend on the ability to override particular words in Mifos, like
> "Center -> Kendra". These overrides can be specific to a locale or a
> particular MFI.
> If this spike is viable, we can then
> * improve Mifos i18n by allowing proper & safe customization of particular
> words and phrases
> * speed up development since message lookups will be cleaner
> * provide a simpler, improved ui allowing Mifos users to override any
> arbitrary string
> h1. Spike
> # Hard code a list of substitutions. e.g.: "Center -> Kendra".
> # Create something that intercepts (or replaces) whatever is done during
> Spring message lookup.
> # Make the interceptor use the list of substitutions to modify resolved
> messages.
> h2. Alternate idea
> A servlet filter may also work, but this may be more tricky. For instance,
> someone might specify the substitution "div -> pickle", which would break
> HTML.
> h1. Not covered in this card
> * doing the "final" solution
> ** ui for ui for customizing substitutions
> ** substitutions persisted (e.g.: in the db)
> h2. Other ideas for later
> * pick some arbitrary lower bound for substitution length. We don't want
> people doing "a -> b"
> * restrict substitution to particular messages
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues