|
|
1 year ago | |
|---|---|---|
| .. | ||
| _story | e98352e6d5 test: replace demo text | 1 year ago |
| source | 1235e0d11c fix: Modify inaccurate expressions in locale vi-VN translation (#2154) | 1 year ago |
| README.md | 076be4564e Merge branch origin/main into main | 2 years ago |
| context.tsx | f76bd5879d feat: init | 4 years ago |
| index-en-US.md | f76bd5879d feat: init | 4 years ago |
| index.md | f76bd5879d feat: init | 4 years ago |
| interface.ts | 7ee436eb2b fix: add presets i18n in DatePicker (#1643) | 2 years ago |
| localeConsumer.tsx | bd83d1f9cd chore: format code | 3 years ago |
| localeProvider.tsx | bd83d1f9cd chore: format code | 3 years ago |
Semi Design locale package
Component multilingual support
import en_GB from '@douyinfe/semi-ui/lib/es/locale/source/en_GB';
import { LocaleProvider } from '@douyinfe/semi-ui';
return (
<LocaleProvider locale={en_GB}>
<App/>
</LocaleProvider>
);
Notice: Don't replace key in
${}which is a dynamic value.
MIT

