bigbinary / neeto-ui

A component library from BigBinary.
https://neeto-ui.neeto.com/
40 stars 2 forks source link

Support translations. #2162

Closed farhanlatheef closed 2 weeks ago

farhanlatheef commented 3 months ago

Found few instances for hardcoded string.

BlockNavigation

We should translate these when using other locale.

farhanlatheef commented 3 months ago

I looked into antd and materialUI both uses react context api to set locale. I think internally we can use approach similar to our other packages, at the same time create a Provider component that handle locale/translations for external use.

antd: https://ant.design/components/config-provider mui: https://mui.com/material-ui/guides/localization/

cc: @josephmathew900 @AbhayVAshokan @ajmaln

josephmathew900 commented 1 month ago

@gaagul _a