public final Locale getLocale ()

The Locale specifying the language and possibly the country that the Track contents are formatted for. For AudioTracks this will be the language spoken, for SubtitleTracks this will be the language presented in the captions. Not all Tracks will have an associated language, in which case this method will return null.

Returns:  the Tracks language information or null

Since:  JavaFX 8.0