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

Feature fix: Make 'Go Fullscreen' button localizable #627

Merged
merged 1 commit into from
Nov 15, 2012
Merged

Feature fix: Make 'Go Fullscreen' button localizable #627

merged 1 commit into from
Nov 15, 2012

Conversation

latzt
Copy link
Contributor

@latzt latzt commented Oct 14, 2012

I've made the fullscreen button translatable. Link: #484

Two new files has been added:

  • me-i18n.js (provides methods for translating strings)
  • me-i18n-locale-de.js (keeps the german language file)

Other translations can be added easily:

  • me-i18n-locale-zh.js (chinese translation)

Usage:
mejs.i18n.t("a string to translate")

The translation context is taken from navigator.language.

Best regards, Tim

johndyer added a commit that referenced this pull request Nov 15, 2012
Feature fix: Make 'Go Fullscreen' button localizable
@johndyer johndyer merged commit a25812d into mediaelement:master Nov 15, 2012
phuongdh pushed a commit to avalonmediasystem/mediaelement that referenced this pull request Oct 18, 2013
Feature fix: Make 'Go Fullscreen' button localizable
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
Feature fix: Make 'Go Fullscreen' button localizable
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
Feature fix: Make 'Go Fullscreen' button localizable
marmite22 pushed a commit to elucidat/mediaelement that referenced this pull request Dec 16, 2016
Feature fix: Make 'Go Fullscreen' button localizable
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.

None yet

2 participants