Skip to content

Commit e06a98f

Browse files
authored
fix: Broken links on i18n.en-US.md (#655)
* fix: Broken links on i18n.en-US.md - Fixed the broken links to the umi locale information page - Fixed the broken GitHub link to the locale plugin * Linked to en-US pages
1 parent 10da345 commit e06a98f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/i18n.en-US.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ nav:
1111

1212
### Getting Started
1313

14-
Pro implements globalization through the umi plugin [@umijs/plugin-locale](https://github.com/umijs/@umijs/plugin-locale) and is enabled by default. `@umijs/plugin-locale` convention Introduces the corresponding js in src/locales, such as en-US.ts and zh-CN.ts, And do the following configuration in `config/config.ts`:
14+
Pro implements globalization through the umi plugin [@umijs/plugin-locale](https://github.com/umijs/umi/blob/master/packages/plugins/src/locale.ts) and is enabled by default. `@umijs/plugin-locale` convention Introduces the corresponding js in src/locales, such as en-US.ts and zh-CN.ts, And do the following configuration in `config/config.ts`:
1515

1616
```tsx | pure
1717
plugins:[
@@ -25,7 +25,7 @@ plugins:[
2525
]
2626
```
2727

28-
I am happy to use the function of globalization. See [config](https://umijs.org/plugins/plugin-locale) for detailed configuration)。
28+
I am happy to use the function of globalization. See [config](https://umijs.org/en-US/docs/max/i18n) for detailed configuration)。
2929

3030
`@umijs/plugin-locale` encapsulates [react-intl](https://github.com/yahoo/react-intl), api is basically the same as `react-intl`, and is more convenient to package. All apis are as follows:
3131

@@ -96,7 +96,7 @@ class SelectLang extends React.Component {
9696
}
9797
```
9898

99-
More advanced usage can be found in [plugin-locale](https://umijs.org/plugins/plugin-locale).
99+
More advanced usage can be found in [plugin-locale](https://umijs.org/en-US/docs/max/i18n).
100100

101101
### Remove globalization
102102

0 commit comments

Comments
 (0)