Add support to request messages from a specific locale

Description

Using Rincl and logging everything at the same time has been difficult to maintain since we need two versions of each message, one to show to the user on its required locale and another in English to be logged.

Starting from that it would help the Rincl's users to have a method to get the message from a specific locale .

e.g.

Environment

None

Activity

Show:
Garret Wilson
August 18, 2016, 2:46 PM

This is a great idea, but it turns out the best place to specify the locale is not on the Resources instance, but when retrieving a Resources instance. A Resources instance represents the resources for a particular local. Thus if a class implements Rincled, instead of:

You will use:

Garret Wilson
August 18, 2016, 2:49 PM

An optional Locale parameter has been added to the Resources retrieval methods.

Assignee

Garret Wilson

Reporter

Magno Nascimento

Labels

None

Fix versions

Priority

Major
Configure