|
|
7 月之前 | |
|---|---|---|
| .. | ||
| _story | 6ac8df22fc feat: JsonViewer add i18n support (#2766) | 7 月之前 |
| source | 6ac8df22fc feat: JsonViewer add i18n support (#2766) | 7 月之前 |
| README.md | 076be4564e Merge branch origin/main into main | 2 年之前 |
| context.tsx | f76bd5879d feat: init | 4 年之前 |
| interface.ts | 6ac8df22fc feat: JsonViewer add i18n support (#2766) | 7 月之前 |
| localeConsumer.tsx | 23e87e4dbc feat: inputnumber add currency support (#2742) | 7 月之前 |
| localeProvider.tsx | bd83d1f9cd chore: format code | 3 年之前 |
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

