-
-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add docs for VSCode integration (#484) [skip ci]
- Loading branch information
Showing
11 changed files
with
78 additions
and
10 deletions.
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
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
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
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
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
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,6 @@ | ||
{ | ||
"index": "Start", | ||
"typescript": "TypeScript", | ||
"localization-management": "Localization management with Crowdin", | ||
"vscode-integration": "VSCode integration" | ||
} |
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,31 @@ | ||
import { | ||
CheckCircleIcon, | ||
GlobeAltIcon, | ||
CodeBracketIcon | ||
} from '@heroicons/react/24/outline'; | ||
import {Card} from 'nextra-theme-docs'; | ||
|
||
# Workflows & integrations | ||
|
||
To get the most out of `next-intl`, you can choose from these integrations to improve your workflow when developing and collaborating with translators. | ||
|
||
<div className="mt-8 flex flex-col gap-4 md:w-1/2"> | ||
<Card | ||
arrow | ||
icon={<CheckCircleIcon />} | ||
title="TypeScript integration" | ||
href="/docs/workflows/typescript" | ||
/> | ||
<Card | ||
icon={<GlobeAltIcon />} | ||
arrow | ||
title="Localization management with Crowdin" | ||
href="/docs/workflows/localization-management" | ||
/> | ||
<Card | ||
icon={<CodeBracketIcon />} | ||
arrow | ||
title="VSCode integration" | ||
href="/docs/workflows/vscode-integration" | ||
/> | ||
</div> |
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
File renamed without changes.
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,22 @@ | ||
# VSCode integration | ||
|
||
To improve the workflow for managing messages right from your code editor, you can use the [i18n Ally VSCode extension](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) which includes support for `next-intl`. | ||
|
||
<video | ||
className="my-8" | ||
autoPlay | ||
loop | ||
controls | ||
muted | ||
src="/i18n-ally-demo.mp4" | ||
/> | ||
|
||
## Installation instructions | ||
|
||
1. Install [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) | ||
2. Configure the extension in your workspace via [`settings.json`](https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings) | ||
|
||
```json filename=".vscode/settings.json" | ||
"i18n-ally.localesPaths": ["path/to/your/messages"], // E.g. "messages" | ||
"i18n-ally.keystyle": "nested" | ||
``` |
Binary file not shown.
6efaafc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
example-next-13-next-auth – ./examples/example-next-13-next-auth
example-next-13-next-auth-next-intl.vercel.app
example-next-13-next-auth.vercel.app
example-next-13-next-auth-git-main-next-intl.vercel.app
6efaafc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
next-intl-example-next-13 – ./examples/example-next-13
next-intl-example-next-13-next-intl.vercel.app
next-intl-example-next-13.vercel.app
next-intl-example-next-13-git-main-next-intl.vercel.app
6efaafc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
next-intl-docs – ./docs
next-intl-docs-next-intl.vercel.app
next-intl-docs-git-main-next-intl.vercel.app
next-intl-docs.vercel.app