Skip to content

Commit

Permalink
Merge pull request #1284 from Shopify/kos/add_recommendation_config_i…
Browse files Browse the repository at this point in the history
…18n-ally

Add recommendation and config for i18n-ally
  • Loading branch information
mkevinosullivan authored Jul 11, 2023
2 parents 5878783 + 3fa67b6 commit 1a47892
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"recommendations": [
"shopify.polaris-for-vscode"
"shopify.polaris-for-vscode",
"lokalise.i18n-ally"
]
}
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"i18n-ally.localesPaths": [
"web/frontend/locales"
],
"i18n-ally.enabledFrameworks": [
"i18next-shopify"
],
"i18n-ally.keystyle": "nested"
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,4 @@ pnpm dev --tunnel-url https://randomly-generated-hostname.trycloudflare.com:3000
- [react-i18next](https://react.i18next.com/)
- [`useTranslation` hook](https://react.i18next.com/latest/usetranslation-hook)
- [`Trans` component usage with components array](https://react.i18next.com/latest/trans-component#alternative-usage-components-array)
- [i18n-ally VS Code extension](https://marketplace.visualstudio.com/items?itemName=Lokalise.i18n-ally)

0 comments on commit 1a47892

Please sign in to comment.