A Java library, focused on making internationalisation more modular, easier to evolve and maintain, robust-to-change and IDE-friendly without excess of external tools.
Currently all messages specified in @En("message"), @En(intRes="path/to/resource.txt"), are post-filtered through MessageFormat. This may be undesired, for example, when dealing with external resources scripted in some wiki format, like Markdown, since it may use {} notation.
MessageFormat supports escaping of {} but it is not very intuitive and may get quite verbose.
A possible solution would be to add an additional parameter to the annotation, e.g. raw = true, that would skip the MessageFormat filter.
Currently all messages specified in
@En("message")
,@En(intRes="path/to/resource.txt")
, are post-filtered throughMessageFormat
. This may be undesired, for example, when dealing with external resources scripted in some wiki format, like Markdown, since it may use{}
notation.MessageFormat
supports escaping of{}
but it is not very intuitive and may get quite verbose.A possible solution would be to add an additional parameter to the annotation, e.g.
raw = true
, that would skip theMessageFormat
filter.