Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Use application locale setting in WebView language header

tretonis-JavaNetSep 9 2015 — edited Sep 13 2015

how to set


setRequestProperty ("Accept-Language", "pt_br; q = 0.5, en; q = 0.5");

in javafx javafx 8 or 9 for WebView and WebEngine ?

My intention is get page translated.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2015
Added on Sep 9 2015
5 comments
1,135 views