-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* i18n(ko-KR): update `error-reference.mdx` and `errors/` * Update src/content/docs/ko/reference/errors/incorrect-strategy-for-i18n.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
- Loading branch information
1 parent
b7b538a
commit 864633d
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/content/docs/ko/reference/errors/incorrect-strategy-for-i18n.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: You can't use the current function with the current strategy | ||
i18nReady: true | ||
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts | ||
--- | ||
|
||
> **IncorrectStrategyForI18n**: The function `FUNCTION_NAME` can only be used when the `i18n.routing.strategy` is set to `"manual"`. | ||
## 무엇이 잘못되었나요? | ||
일부 국제화 함수는 Astro의 자체 i18n 라우팅이 `i18n.routing: "manual"` 구성 설정에 의해 비활성화된 경우에만 사용할 수 있습니다. | ||
|
||
**더 보기:** | ||
- [`i18n` routing](/ko/guides/internationalization/#routing) |
10 changes: 10 additions & 0 deletions
10
...ontent/docs/ko/reference/errors/missing-middleware-for-internationalization.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Enabled manual internationalization routing without having a middleware. | ||
i18nReady: true | ||
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts | ||
--- | ||
|
||
> **MissingMiddlewareForInternationalization**: Your configuration setting `i18n.routing: 'manual'` requires you to provide your own i18n `middleware` file. | ||
## 무엇이 잘못되었나요? | ||
사용자가 수동 라우팅을 활성화했지만 미들웨어 파일이 없으면 Astro에서 오류가 발생합니다. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters