On Mon, 27 Jan 2025 14:35:30 GMT, Nizar Benalla <nbena...@openjdk.org> wrote:

>> When translating to some languages like Portuguese or Arabic google 
>> translate will modify the HTML and changes the value of the HTML title 
>> Attribute.
>> Example when auto-translating the page to Arabic `<link rel="stylesheet" 
>> type="text/css" href="resource-files/jquery-ui.min.css" title="أسلوب">`
>> 
>> This patch to add a `translate="no"` attribute to the HTML `link` tag used 
>> to link CSS stylesheets, this seems to prevent the translation of the 
>> `title` property by google chrome on my local machine.
>> 
>> TIA
>
> Nizar Benalla has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   respond to feedback

BTW the alternative style sheet specification also explains the browser bug 
that makes styles disappear when the `title` attribute is changed. The browser 
tries to switch to a style sheet with the translated title, while the style 
sheet was registered with its original title.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23263#issuecomment-2618376487

Reply via email to