Skip to content
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

Translation UI opens additional, possibly unrelated, input and scrolls to it #833

Open
stevejalim opened this issue Oct 15, 2024 · 0 comments

Comments

@stevejalim
Copy link
Contributor

I have a Page with the following fields

  • title - CharField
  • desc - CharField
  • content - RichTextField

The content if the RichTextField was pasted from rendered HTML (literally this public page) and seemed to be accepted fine. The en-US page renders fine.

The page is now marked for translation into French and when I go to manually add those translations, the title and desc fields behave 'correctly' - ie, clicking the button to add the translation reveals an new <input> and it can be saved fine.

When I try to translate the first string/source from the content field, however, the UI leaps down to a separate field (containing a URL, which does not feature in the triggering string) and it looks like that's what's supposed to be translated.

It turns out that the the target string does get its input revealed, but the behaviour of scrolling to an unrelated field and enabling that for translation, too, is masking the behaviour.

Here's a screen recording to show what I mean, plus a follow-up with more detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant