KhronosGroup / KhronosGroup/OpenGL-Refpages
Extension xhtml ignored by Google translate
- Dominant language
- HTML
- Stars
- 492
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
A Russian speaker has discovered that the .xhtml cannot be translated by Google Translate. For example, this .html page translated fine:
https://registry-khronos-org.translate.goog/OpenGL-Refpages/gl4/?_x_tr_sl=en&_x_tr_tl=ru
This page does not:
https://registry-khronos-org.translate.goog/OpenGL-Refpages/gl4/html/all.xhtml?_x_tr_sl=en&_x_tr_tl=ru
Instead, getting redirected to:
https://registry-khronos-org.translate.goog/OpenGL-Refpages/gl4/html/all.xhtml
Changing the extension to just .html and the page then translates without any issues. I could imagine there are others that are having translation issues on our ref pages.
Is there anything that can be done to fix this issue?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the behavior using the linked translated .html and .xhtml ref-page URLs, then inspect how the generated XHTML pages are served and whether their extension can be handled like .html. Done means Google Translate preserves the translation query and translates the XHTML reference pages instead of redirecting to the untranslated URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100