[
http://mifosforge.jira.com/browse/MIFOS-4746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Monsen updated MIFOS-4746:
-------------------------------
Description:
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
was:
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.
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
* pick some arbitrary lower bound for substitution length. We don't want people
doing "a -> b"
> 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
>
> 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
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues