neeto-ui icon indicating copy to clipboard operation
neeto-ui copied to clipboard

Support translations.

Open farhanlatheef opened this issue 1 year ago • 1 comments

Found few instances for hardcoded string.

BlockNavigation

  • All of your unsaved changes will be lost. This can't be undone.
  • Discard changes.
  • You have unsaved changes ActionBlock
  • Save changes
  • Cancel DatePicker
  • Today Table
  • Insert column right
  • Insert column left
  • Column info
  • Hide column
  • Delete column TimePicker
  • Hour
  • Minute
  • Seconds TreeSelect
  • No options

We should translate these when using other locale.

farhanlatheef avatar Apr 11 '24 12:04 farhanlatheef

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

farhanlatheef avatar Apr 11 '24 13:04 farhanlatheef

@gaagul _a

josephmathew900 avatar Jun 28 '24 06:06 josephmathew900