JDK-8319140 : Consider exposing the input language with the Platform Preference API
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: localization
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2023-10-30
  • Updated: 2023-10-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Currently there is no way for JavaFX applications to easily be notified about changes of the input language and its direction. This might be implemented using the Platform Preferences API.

One possibility is to encode this information in an object with the following fields:

```
String languageName;
String languageCode;
enum Direction { LEFT_TO_RIGHT, RIGHT_TO_LEFT, VERTICAL } direction;
```