-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Describe the current behavior
Reports translation in Locale.FRENCH does not exist.
Describe the expected behavior
Reports translation in Locale.FRENCH exists.
Describe the motivation
Having reports in french thanks to the internationalisation.
Extra Information
With the new french report property file, some reports may now be in French locale instead of reports default value (if the default locale of the user is in french).
To explicitly chose in which language the reports should be translated (keep English or use the new French language), the user needs to specify the Locale
to apply to the report when creating a new root ReportNode
. For instance, before if he used:
ReportNode root = ReportNode.newRootReportNode()
.withResourceBundles("bundle.name")
.withMessageTemplate("root")
.build();
Now the user should specify the locale for the root (and it will also be applied to its children) by setting the locale:
ReportNode root = ReportNode.newRootReportNode()
.withLocale(Locale.US)
.withResourceBundles("bundle.name")
.withMessageTemplate("root")
.build();
Alternatively, you can change the default Locale
by defining the following options in your command line:
-Duser.language=en -Duser.region=US
(Here, the default Locale is set to en_US
.)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status