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

Fix bug 1604843: Add support for SYSTRAN Translate service #1658

Merged
merged 5 commits into from Jul 28, 2020

Conversation

mathjazz
Copy link
Collaborator

@mathjazz mathjazz commented Jul 13, 2020

The patch is deployed to stage. Systran is only enabled for German, French and Spanish (es and es-ES).

Followups:

  • Refactor Machinery so we don't need to add a new engine in so many different places
  • Showing original string in Machine Translation services results

@Pike
Copy link
Collaborator

Pike commented Jul 15, 2020

I glanced at the results on stage, and there's one where I don't know why, https://mozilla-pontoon-staging.herokuapp.com/de/firefox/all-resources/?string=192281. There's a leading <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> ?

@@ -0,0 +1,53 @@
# Generated by Django 2.2.13 on 2020-07-13 16:47
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment, maybe give this one a semantic name?

blank=True,
help_text="""
SYSTRAN Profile UUID to specify the engine trained on the en-locale language pair.
""",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We talked about this on the call, we shouldn't make admins enter this, if it can be avoided. You mentioned there would be an API to query this?

Not terribly bound to where we store this.

@mathjazz
Copy link
Collaborator Author

Addressed review comments in 74b25d6 and 649277e.

@mathjazz mathjazz requested a review from Pike July 24, 2020 17:56
@mathjazz mathjazz merged commit ff75053 into mozilla:master Jul 28, 2020
@mathjazz mathjazz deleted the bug-1604843-systran branch July 28, 2020 12:23
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

Successfully merging this pull request may close these issues.

None yet

2 participants