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

Update: Adding more languages for subtitles #130

Merged
merged 2 commits into from
May 23, 2017
Merged

Update: Adding more languages for subtitles #130

merged 2 commits into from
May 23, 2017

Conversation

bhh1988
Copy link
Contributor

@bhh1988 bhh1988 commented May 20, 2017

This commit adds more subtitle languages. Before we were limiting
ourselves to the official list of Box supported languages, but really
that should only apply to translations of the languages (i.e. the set of
properties files we have). If a video has a subtitle in it with a
particular language that we don't officially support, there's no reason
to give a degraded experience - all we need to do is maintain a
language-code mapping for that language, and we don't need to even
translate anything into that language (just translate the language name
into our officially supported languages).

This commit adds more subtitle languages. Before we were limiting
ourselves to the official list of Box supported languages, but really
that should only apply to translations of the languages (i.e. the set of
properties files we have). If a video has a subtitle in it with a
particular language that we don't officially support, there's no reason
to give a degraded experience - all we need to do is maintain a
language-code mapping for that language, and we don't need to even
translate anything into that language (just translate the language name
into our officially supported languages).
@bhh1988
Copy link
Contributor Author

bhh1988 commented May 20, 2017

There's an even longer list of languages I had created here: bhh1988@b9152e5

But I threw out most of the obscure ones

@bhh1988
Copy link
Contributor Author

bhh1988 commented May 22, 2017

This adds 131 bytes to preview.js

@bhh1988 bhh1988 merged commit b55988c into box:master May 23, 2017
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.

2 participants