Integrated: 8347058: When automatically translating the page to pt-br, all CSS styling disappears
Nizar Benalla
nbenalla at openjdk.org
Tue Jan 28 11:16:58 UTC 2025
On Thu, 23 Jan 2025 11:28:19 GMT, Nizar Benalla <nbenalla at 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
This pull request has now been integrated.
Changeset: 3a8680e9
Author: Nizar Benalla <nbenalla at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3a8680e919fb2505ff0e05e6ea6ae39ef25c81b2
Stats: 33 lines in 7 files changed: 0 ins; 2 del; 31 mod
8347058: When automatically translating the page to pt-br, all CSS styling disappears
Reviewed-by: hannesw, liach
-------------
PR: https://git.openjdk.org/jdk/pull/23263
More information about the javadoc-dev
mailing list