-
Notifications
You must be signed in to change notification settings - Fork 83
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
I18N #452
Comments
Hi, while i18n is very interesting, this would be a rather big endeavour. Can you share a bit more about what you would like to achieve specifically? |
I tested both, and I found some component like {visibleControls.leave && (
<DisconnectButton>
{showIcon && <LeaveIcon />}
{showText && 'Leave'}
</DisconnectButton>
)} I'm attempting to make some of these components i18nlized such as Or, am I missing some hacky function to inject i18n value to Edit: |
for the control bar you cannot inject it right now, but you can always do something like <DisconnectButton>
{t('disconnect-button')}
<DisconnectButtion> with your own translate implementation. We'll think more about how to make this easier for users in the future |
can I set up labels in config somehow? |
Describe the problem
Hope there have i18n entry.
Describe the proposed solution
Maintain a json file that contain i18n KV context / translate, for example: https://react.i18next.com/
Alternatives considered
No response
Importance
I cannot use LiveKit without it
Additional Information
No response
The text was updated successfully, but these errors were encountered: