You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's no official way to translate the default labels in media-chrome/labels/labels. While we've implemented a workaround using Object.assign in our Next.js/React application, this solution has several drawbacks:
Current Issues
The Object.assign approach is cumbersome to maintain
Experiencing loading and caching issues with this implementation
No clear way to handle dynamic language changes
Feature Request
Could we implement an official way to handle label translations? Possible solutions could include:
A dedicated prop for label translations
A translation hook or utility function
A configuration option in the component's setup
This would greatly improve the developer experience and make the library more internationalization-friendly.
Thank you 🙏🏻😊 for maintaining this great library! We appreciate your consideration of this feature request and are happy to provide any additional information or use cases if needed.
The text was updated successfully, but these errors were encountered:
Currently, there's no official way to translate the default labels in
media-chrome/labels/labels
. While we've implemented a workaround usingObject.assign
in our Next.js/React application, this solution has several drawbacks:Current Issues
Object.assign
approach is cumbersome to maintainFeature Request
Could we implement an official way to handle label translations? Possible solutions could include:
This would greatly improve the developer experience and make the library more internationalization-friendly.
Current Workaround
Thank you 🙏🏻😊 for maintaining this great library! We appreciate your consideration of this feature request and are happy to provide any additional information or use cases if needed.
The text was updated successfully, but these errors were encountered: