Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Multilingual interface AblePlayer #2

Open

Description

@kstapelfeldt

How to pick up the language context and show a different language

Activity

  1. larkgz commented on Aug 19, 2022

    @larkgz

    Able Player supports automatic localization of its UI according to site language. In other words, if you open Able Player while the site is in another language, Able Player will automatically be translated if the language is supported.

    To add new languages, you can add new .js files to ./translations and add the corresponding language code to the array of supported languages:

    (AblePlayer.prototype.getSupportedLangs = function () {

    For multiple language transcript options, the Able Player Drupal module supports this with its 3.x development branch (still in alpha). However, this requires reuploading caption files to work with their new translations system because the language of the transcripts is not stored anywhere with the current system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions