This content has been marked as final. Show 5 replies
File a feature request against the Runtime project at: http://javafx-jira.kenai.com
what is this mean?I don't understood clearly.I can ask a question at http://javafx-jira.kenai.com? I can't find answer about my problem at http://javafx-jira.kenai.com.
can you tell me clearly?I need help, thank you very much!
I see that a feature request was filed as below:
http://javafx-jira.kenai.com/browse/RT-28480 "javafx browser set Accept-Language"
This means that a request has been made to include this functionality in the JavaFX platform. Based on this, the JavaFX team may add a property for the accept language to the WebEngine interface (similar to the ability that was added to set the user agent: http://javafx-jira.kenai.com/browse/RT-22153). I think that would be the best solution. The JavaFX team may not do anything and just close the issue if they feel existing functionality is sufficient or such a feature is unwarranted. Even if a platform change is made it will take a while to be implemented and released.
In the meantime, you can follow the suggestion of Peter Z in the Jira request comments of:
You'll probably need a custom URLStreamHandler that would set Accept-Language for HTTP connections it creates.For a sample of using a custom URLConnectionHandler, see:
Read up on the accept language header in the http specification and read the URLConnectionHandler documentation , and in your custom handler, set the http header for accept language as appropriate.