Skip to content

Conversation

@gswetha
Copy link

@gswetha gswetha commented Jan 22, 2026

This document lists the languages supported by Chrome's Translator API, including codes and language names.

This document lists the languages supported by Chrome's Translator API, including codes and language names.
Copy link

@tomayac tomayac left a comment

Choose a reason for hiding this comment

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

LGTM with formatting nits.

@@ -0,0 +1,52 @@
### Translator API: Supported Languages (Chrome)
The following languages are currently supported by Chrome's implementation of the Translator API.
Copy link

Choose a reason for hiding this comment

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

Suggested change
The following languages are currently supported by Chrome's implementation of the Translator API.
The following languages are currently supported by Chrome's implementation of the Translator API.

Comment on lines +6 to +8
<table>
<tr>

Copy link

Choose a reason for hiding this comment

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

Suggested change
<table>
<tr>

As per https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables#creating-a-table, this is enough:

| First Header  | Second Header |
| ------------- | ------------- |
| Content Cell  | Content Cell  |
| Content Cell  | Content Cell  |

Comment on lines +50 to +52

</tr>
</table>
Copy link

Choose a reason for hiding this comment

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

Suggested change
</tr>
</table>

See comment above.

@anssiko
Copy link
Member

anssiko commented Jan 22, 2026

Thanks for this contribution! Could we turn this into "impl-status.md" to be more inclusive of other implementers? For example, Translator API in Edge may support a different set of languages.

@gswetha
Copy link
Author

gswetha commented Jan 22, 2026

Thank you! I've renamed the file.

@anssiko
Copy link
Member

anssiko commented Jan 22, 2026

Maybe sectioning like this works better:

# Implementation Status

## Translator API

### Chrome

#### Supported Languages

... table here ...

### Edge

...

## LanguageDetector API

...

@tomayac I think the ultimate destination for this information might be https://github.com/mdn/browser-compat-data from where caniuse.com and others pulls their data. Not sure if BCD schema supports this tabular format though.

Paging @Elchi3 for advice. We're trying to figure out where to host more detailed implementation status information that go beyond the usual schema. See this PR.

@tomayac
Copy link

tomayac commented Jan 22, 2026

That's a good point. A natural destination might also be https://developer.mozilla.org/en-US/docs/Web/API/Translator/translate.

We have a similar list of supported items in https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share#shareable_file_types, but without mentioning concrete browsers, though the list was definitely driven by people not knowing what could be shared.

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.

3 participants