jitsi / jitsi-meet-react-sdk

React SDK for Jitsi Meet
Apache License 2.0
65 stars 36 forks source link

How to change the language file of Jitsi JAAS? #42

Closed vnfcms closed 3 months ago

vnfcms commented 4 months ago

I'm using your package and utilizing JAAS. When switching to Japanese language, there are many untranslated keys. How can I modify? Can I add keys or edit some of the existing Japanese sentences?

Thanks

saghul commented 4 months ago

Hey there! You have 2 ways:

1) Contribute to jitsi-meet so the untranslated labels are actually translated: https://github.com/jitsi/jitsi-meet/tree/master/lang#jitsi-meet-translation 2) Use dynamic branding in JaaS to override the translation keys you want: https://developer.8x8.com/jaas/docs/jaas-prefs-advanced-branding#branding-data-payload check the section for labels

vnfcms commented 4 months ago

Thank you for your support. If I choose option 2, are these the steps to follow?

  1. Log in to https://jaas.8x8.vc/.
  2. Select Branding from the menu, then choose Advanced Settings.
  3. Click on the "Add branding resources URL" button.
  4. Enter the URL as the JSON data of the payload.

Additionally, is there a way I can directly set up from the source code without accessing the website for configuration? If so, could you please guide me? Thank you!

saghul commented 4 months ago

In 4 you need to pass an actual URL which will respond with the JSON payload.

Additionally, is there a way I can directly set up from the source code without accessing the website for configuration? If so, could you please guide me? Thank you!

This is not currently possible.

vnfcms commented 4 months ago

Thanks for your help!

saghul commented 4 months ago

Cheers! Feel free to close this when you're ready.