Modify

Opened 4 years ago

Last modified 4 years ago

#20805 new enhancement

Replace Locale.ENGLISH by Locale.ROOT?

Reported by: simon04 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: locale Cc: GerdP, mdk

Description

simon04 in ticket:20784#comment:32:

Java also provides Locale.ROOThttps://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Locale.html#ROOT

This is regarded as the base locale of all locales, and is used as the language/country neutral locale for the locale sensitive operations.

mdk in ticket:20785#comment:7:

In r17811 (see #20784) similar problems are solved with Locale.ENGLISH. Wouldn't it be better to use always the same solution (Locale.ROOT)?

Currently, we have 147 occurrences of Locale.ENGLISH

Attachments (0)

Change History (1)

comment:1 by GerdP, 4 years ago

In some places it seems reasonable/needed to use Locale.ENGLISH, so this requires lots of thinking and understanding of the reason why a Locale was used. I fear it can break something for no good reason.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to simon04.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.