mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 21:32:56 +08:00
docs: update i18n support 24 language (#6483)
Signed-off-by: Pierre Neter <pierreneter@gmail.com>
This commit is contained in:
parent
a5cc8b33e3
commit
7df095414c
@ -1,7 +1,7 @@
|
|||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
moment.locale('vi');
|
moment.locale('vi');
|
||||||
|
|
||||||
import Pagination from 'rc-pagination/lib/locale/en_US';
|
import Pagination from 'rc-pagination/lib/locale/vi_VN';
|
||||||
import DatePicker from '../date-picker/locale/vi_VN';
|
import DatePicker from '../date-picker/locale/vi_VN';
|
||||||
import TimePicker from '../time-picker/locale/vi_VN';
|
import TimePicker from '../time-picker/locale/vi_VN';
|
||||||
import Calendar from '../calendar/locale/vi_VN';
|
import Calendar from '../calendar/locale/vi_VN';
|
||||||
|
@ -21,24 +21,36 @@ return (
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note: `en_US` is filename, follow below:
|
||||||
|
|
||||||
Supported languages:
|
Supported languages:
|
||||||
|
|
||||||
- English - en_US
|
|Language|Filename|
|
||||||
- French (Belgium) - fr_BE
|
|---|---|
|
||||||
- Russian - ru_RU
|
|Bulgarian|bg_BG|
|
||||||
- Spanish - es_ES
|
|Catalan|ca_ES|
|
||||||
- German - de_DE
|
|Chinese (Traditional)|zh_TW|
|
||||||
- Czech - cs_CZ
|
|Czech|cs_CZ|
|
||||||
- Portuguese (Brazil) - pt_BR
|
|Dutch (Belgium)|nl_BE|
|
||||||
- Korean - ko_KR
|
|Dutch|nl_NL|
|
||||||
- Swedish - sv_SE
|
|English (Global)|en_GB|
|
||||||
- Dutch - nl_NL
|
|English|en_US|
|
||||||
- Catalan - ca_ES
|
|Estonian|et_EE|
|
||||||
- Japanese - ja_JP
|
|Finnish|fi_FI|
|
||||||
- Turkish - tr_TR
|
|French (Belgium)|fr_BE|
|
||||||
- Slovak - sk_SK
|
|French (France)|fr_FR|
|
||||||
- Estonian - et_EE
|
|German|de_DE|
|
||||||
- Chinese (Traditional) - zh_TW
|
|Italian|it_IT|
|
||||||
|
|Japanese|ja_JP|
|
||||||
|
|Korean|ko_KR|
|
||||||
|
|Polish|pl_PL|
|
||||||
|
|Portuguese (Brazil)|pt_BR|
|
||||||
|
|Russian|ru_RU|
|
||||||
|
|Slovak|sk_SK|
|
||||||
|
|Spanish|es_ES|
|
||||||
|
|Swedish|sv_SE|
|
||||||
|
|Turkish|tr_TR|
|
||||||
|
|Vietnamese|vi_VN|
|
||||||
|
|
||||||
See usage and contributing way of a new locale package at [LocaleProvider](/components/locale-provider).
|
See usage and contributing way of a new locale package at [LocaleProvider](/components/locale-provider).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user