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

Microsoft Translators "unescaped double quotes" issue #19

Closed
Jeehut opened this issue Jun 22, 2016 · 0 comments
Closed

Microsoft Translators "unescaped double quotes" issue #19

Jeehut opened this issue Jun 22, 2016 · 0 comments
Assignees
Labels

Comments

@Jeehut
Copy link
Member

Jeehut commented Jun 22, 2016

The Microsoft Translator translates some Strings that contain a single quoted substring so that the result replaces the single quoted substrings with double quotes. This happens for some languages like Hungarian or Slovakian.

BartyCrouch could try prevent issues in these cases by simply adding a backslash in front of each double quoted translation result. It could also be that the right place to tackle this is in the Polyglot dependency, but it needs to be solved.

Example:
An english sentence like "She said: 'Stop!'" becomes "She said: "Stop"" for some languages. BartyCrouch should automatically escape the double quotes so that the result looks like this: "She said: "Stop!"".

@Jeehut Jeehut added the bug label Jun 22, 2016
@Jeehut Jeehut self-assigned this Jun 22, 2016
@Jeehut Jeehut changed the title Translating single quotes leads to String escaping quotes in some languages Translating single quotes leads to String escaping double quotes Jun 22, 2016
@Jeehut Jeehut changed the title Translating single quotes leads to String escaping double quotes Single quotes translations lead to escaping double quotes Jun 22, 2016
@Jeehut Jeehut changed the title Single quotes translations lead to escaping double quotes Single quoted translations lead to escaping double quotes Jun 22, 2016
@Jeehut Jeehut changed the title Single quoted translations lead to escaping double quotes Correct Microsoft Translator "escaping double quotes" issue Jun 23, 2016
@Jeehut Jeehut changed the title Correct Microsoft Translator "escaping double quotes" issue Correct Microsoft Translators "escaping double quotes" issue Jun 23, 2016
@Jeehut Jeehut changed the title Correct Microsoft Translators "escaping double quotes" issue Correct Microsoft Translators "unescaped double quotes" issue Jun 23, 2016
@Jeehut Jeehut changed the title Correct Microsoft Translators "unescaped double quotes" issue Microsoft Translators "unescaped double quotes" issue Jun 23, 2016
@Jeehut Jeehut closed this as completed in 147f97a Jul 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant