Page MenuHomePhabricator

Unable to save content translator provider as default
Closed, DuplicatePublicBUG REPORT

Assigned To
None
Authored By
Amitie_10g
Jul 29 2021, 9:02 PM
Referenced Files
F34569931: image.png
Jul 30 2021, 12:03 AM
F34569934: image.png
Jul 30 2021, 12:03 AM
F34569773: image.png
Jul 29 2021, 9:02 PM

Description

Summary:

I'm a regular ContentTranslation user, and I'm somewhat satisfied with it. However, I found an issue when selecting the content translation provider (eg. Google Translate) as the default. It sucessfully translate the paragraph with the selected content translation provider, but when I click on Keep as default (Guardar como predeterminada in spanish), the section dissapears from the sidebar and default content translation provider is not saved. Developer tools' Console on browser shows anything, so, I cant identify any issue in browser-side.

image.png (500×1 px, 103 KB)
image.png (383×1 px, 110 KB)
image.png (153×511 px, 8 KB)

List of steps to reproduce (step by step, including full links if applicable):

  • Click on right pane for translating paragraph
  • Choose Google Translate as content translation provider
  • Text ins translated using Google Translate
  • Click on Keep as default

What happens?:
Box containing the content translation provider chooser dissapears, and default content translation provider is not saved

What should have happened instead?:
Google Translate is kept as default content translator for further paragraph translations

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

  • Happens in the latest production MediaWiki version (any Wikipedia)
  • Happens in any browser I tested: Brave, Chromium-based Microsoft Edge and Firefox

Also, content translation provider should be saved as user preference and not browser-locally.
And also, I suggest to use Google Translate instead of Apertium as default content translation (as it is utterly inaccurate).

Event Timeline

@Amitie_10g: Assuming this task is about the ContentTranslation code project, hence adding that project tag so other people can also find this task when searching via projects. (Please set appropriate project tags when possible.) Thanks!

Amitie_10g renamed this task from Can't save content translator provider as default to Unable to save content translator provider as default.Jul 30 2021, 12:03 AM
Amitie_10g updated the task description. (Show Details)

Thanks for the feedback. This is an issue we are currently working on. The code has been updated to fix the issue and, based on our review and deployment cycle, it should be visible in 1-2 weeks. More details in T279525