Skip to content
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

Message text not localizable #1605

Closed
r12a opened this issue Sep 15, 2017 · 4 comments
Closed

Message text not localizable #1605

r12a opened this issue Sep 15, 2017 · 4 comments
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.

Comments

@r12a
Copy link

r12a commented Sep 15, 2017

[from Addison Phillips, endorsed by the i18n WG]

http://w3c.github.io/webrtc-pc/#rtcpeerconnectioniceerrorevent

Error values can contain an attribute:

    readonly attribute USVString      errorText;

This appears to use the text defined here and doesn't allow for localization of the error message. Shouldn't it allow for localization (complete with language and bidi support)

@adamroach
Copy link

The field you're referring to comes directly from the STUN/TURN server, and is not generated locally. It is completely analogous to the XMLHttpRequest.statusText field, and the same l18n considerations apply (i.e., it's a server issue, not an API issue).

@aboba
Copy link
Contributor

aboba commented Sep 15, 2017

Since this is a server, not an API issue, I am closing it.

@aboba aboba closed this as completed Sep 15, 2017
@r12a r12a added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label Oct 20, 2017
@aphillips
Copy link

I don't agree that this is strictly a server issue. The server does generate the message, but it can know what language and base direction the error is generated in; it is incredibly useful to transmit this information with any human readable string--cf. our document String-Meta. Because we didn't notice that this issue was unresolved and because this is not the first or last spec to have unadorned strings for error messages, I don't propose to block webrtc over it. But I would prefer if natural language strings were provided with metadata.

@dontcallmedom
Copy link
Member

right now, the protocol used by the server to send the error doesn't support localization metadata, so there is really nothing the API itself could report as far as I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.
Projects
None yet
Development

No branches or pull requests

5 participants