Docs: Add supported languages for Chrome Translator API#69
Docs: Add supported languages for Chrome Translator API#69gswetha wants to merge 2 commits intowebmachinelearning:mainfrom
Conversation
This document lists the languages supported by Chrome's Translator API, including codes and language names.
| @@ -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.
| 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.
| <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.
| </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. |
Some prior art for this might be the CSS hyphens property which essentially uses a lot of sub features. |
|
@gswetha, please investigate if this supported language information fits within the BCD schema. See the example above. If that works, I recommend you contribute this data to BCD, see https://github.com/mdn/browser-compat-data/blob/main/docs/contributing.md |
This document lists the languages supported by Chrome's Translator API, including codes and language names.