Bug 1584178 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

It would be nice if we could annotate strings somehow to prevent certain pieces of text from being machine translated.

For example: Google Translator translates
`fileSizeProgress = ({ $partialSize } of { $totalSize })`
as
`fileSizeProgress = ({$ partialSize} od {$ totalSize})`
(mind the spacing).
We should prevent certain pieces of text from being changed in the machine translation output in order to prevent translation errors.

For example: Google Translate translates
`fileSizeProgress = ({ $partialSize } of { $totalSize })`
as
`fileSizeProgress = ({$ partialSize} od {$ totalSize})`
(mind the spacing).

Such translations often result in errors, because they mess with the developer variables. Additionally, changes are hard to spot.

We should check if there's a way to annotate substrings that should not be modified in the MT output. Looking at the comments in https://issuetracker.google.com/issues/119256504, we might need to post-process the output instead.

Back to Bug 1584178 Comment 0