-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No support for Page Translation in Google Chrome #25594
No support for Page Translation in Google Chrome #25594
Comments
its getting translated using google builtin translator. Check again |
This is an upstream issue between React & Chrome facebook/react#11538 (comment) |
@t3chguy Definitely projects in React can somehow handle this. Maybe not perfectly, but they can. |
@lukaszpolowczyk the "fault" is we specify |
@t3chguy So please, at least for individual chat messages add class "translate" - Chrome supports this. Then the whole page is not translated, but this particular element with text is. I know that React can also play in the message, for example, if someone edits their post, but that should already work. |
It is though, as it looks like the app is broken, there's zero indication it was broken by your browser doing unexpected things. Contributions are welcome here, it isn't something that the web app team is likely to have any time to work on any time soon. |
In web.element.io, just add class "translate" to an element that has class "mx_EventTile_body markdown-body" - then Google Chrome translates only those elements. I could make a dynamic UserScript that adds such a class to a chat message, and then Google Translator in Chrome would detect it for itself and translate the messages. :D |
Be my guest.
|
@t3chguy I can't even find this element in the source code. I would need help, direction. |
Pretty much all the timeline code is in https://github.com/matrix-org/matrix-react-sdk |
I think/assume this is talking about the Element webapp, rather than https://element.io |
Steps to reproduce
I notice that matrix.org (element.io) is not translated by the site translator.
The element.io page does not translate in Google Chrome.
Just go to any chat on element.io, and try to translate it in Google Chrome, using the built-in translator. It won't work.
Outcome
The content of chat messages, but also perhaps titles and descriptions, should easily be translated by Google Chrome's built-in page translator.
For example, Discord can be translated using this translator.
Operating system
Arch Linux
Browser information
Wersja 114.0.5735.106 (Oficjalna wersja) (64-bitowa)
URL for webapp
develop.element.io, app.element.io
Application version
No response
Homeserver
No response
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: