-
Notifications
You must be signed in to change notification settings - Fork 19
Docs: Add supported languages for Chrome Translator API #69
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
base: main
Are you sure you want to change the base?
Conversation
This document lists the languages supported by Chrome's Translator API, including codes and language names.
tomayac
left a comment
There was a problem hiding this 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. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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. | |
| <table> | ||
| <tr> | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <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 ||
|
||
| </tr> | ||
| </table> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| </tr> | |
| </table> |
See comment above.
|
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. |
|
Thank you! I've renamed the file. |
|
Maybe sectioning like this works better: @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. |
|
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. |
This document lists the languages supported by Chrome's Translator API, including codes and language names.