Skip to content

Code examples in the Developer Guide shouldn't be automatically translated by Google Translate #15853

@Qchristensen

Description

@Qchristensen

Is your feature request related to a problem? Please describe.

Request from user Ronny via email, who uses Google Translate to translate the Developer Guide. They would like the text translated, but not the code examples.

Describe the solution you'd like

According to https://cloud.google.com/translate/troubleshooting we can use:

<span translate="no"> </span>
<span class="notranslate"> </span>

on the sections we don't want translated.

Describe alternatives you've considered

I just looked that up and I'm happy for any better suggestions anyone feels would be better.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/user-documentationfeature/i18nInternationalization featuresgood first issuegithub features these at https://github.com/nvaccess/nvda/contributep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityquick fixtriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions