GithubHelp home page GithubHelp logo

Language Option about capacitor-jitsi-meet HOT 4 CLOSED

gasci avatar gasci commented on August 16, 2024
Language Option

from capacitor-jitsi-meet.

Comments (4)

calvinckho avatar calvinckho commented on August 16, 2024

@gasci Can you try in configOverride, use the property defaultLanguage instead of lang?

Referencing config.js line 360
// Default language for the user interface.
// defaultLanguage: 'en',

from capacitor-jitsi-meet.

gasci avatar gasci commented on August 16, 2024

Thank you for quick response calvinckho

 const result = await Jitsi.joinConference({
        roomName: "meeting-tester",
        url: "https://meet.jit.si",
        displayName: "Full Name",
        subject: "Meeting",
        startWithAudioMuted: false,
        featureFlags: {
          "recording.enabled": false,
          "live-streaming.enabled": false,
          "android.screensharing.enabled": false,
        },
        configOverrides: { defaultLanguage: "tr" },
      });

This configuration didn't work. It is supposed to make the default language Turkish.

It uses the phone system language no matter what.

from capacitor-jitsi-meet.

calvinckho avatar calvinckho commented on August 16, 2024

I did some research on the jitsi-meet source code and found the following:

  1. The configOverrides property only works on web browser
  2. on mobile SDKs, the LanguageDetector is hardcoded to detect the mobile device system language, and ignore the config.js overrides.
  3. I have tested this on iOS. If you change the iOS system language, Jitsi would use it as the default language for the UI until the user changes it manually, and the language choice is then cached.

If this is a mission critical feature, I can help you custom-build the mobile SDKs (of your choice of Capacitor version) that has your preferred default language hard-coded into it. DM me to discuss more.

I will close this as it is not a bug related to my plugin. It has to do with the jitsi-meet source code.

from capacitor-jitsi-meet.

gasci avatar gasci commented on August 16, 2024

Hi, calvinckho.

It is not a mission critical feature actually. Having the system language is enough at this moment. But thank you for your quick responses. It is a good feeling to see that this repo is actively being maintained.

from capacitor-jitsi-meet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.