You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I go and use t the following code says: <h2>{ t('selection', { circuit: race.circuit }) }</h2>: en: i18n key "generic.selection" does not exist
When I use tGeneric it doesn't even recognize the translation
Extension Version
i18n Ally: v2.12.0
Framework/i18n package you are using
Next.js (+ Typescript) & package: next-intl
To Reproduce
Steps to reproduce the behavior:
Use 2 imports via useTranslations
Use both translations
See the bug
Device Infomation
OS: MacOS
Version: 15.0.1 (24A348)
VS Code Version: latest?
Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information
🈶 Activated, v2.12.0
――――――
💼 Workspace root changed to "/Users/tazio/Desktop/Personal/f1-nr10-app"
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🧰 Config "i18n-ally.localesPaths" changed, reloading
🔁 Reloading loader
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🌞 Enabled
🧩 Enabled frameworks: next-intl, General
🧬 Enabled parsers: json, yaml, json5
📈 Telemetry id: 62076651-081b-4855-92ee-d3d0c8aa636f
🚀 Initializing loader "/Users/tazio/Desktop/Personal/f1-nr10-app"
📂 Directory structure: file
🗃 Path Matcher Regex: /^(?<locale>[\w-_]+)\.(?<ext>json|ya?ml|json5)$/
📂 Loading locales under /Users/tazio/Desktop/Personal/f1-nr10-app/messages
📑 Loading (en) en.json [1729585782914.9678]
📑 Loading (nl) nl.json [1729585782915.9194]
👀 Watching change on /Users/tazio/Desktop/Personal/f1-nr10-app/messages
📂 Loading locales under /Users/tazio/Desktop/Personal/f1-nr10-app/src/i18n
👀 Watching change on /Users/tazio/Desktop/Personal/f1-nr10-app/src/i18n
✅ Loading finished
――――――
....
🔄 File changed (change) nl.json
📑 Loading (nl) nl.json [1730191589848.6702]
✅ Loading finished
🐛 ERROR: SyntaxError: Unexpected token (18:34)
SyntaxError: Unexpected token (18:34)
at Parser._raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14168:17)
at Parser.raiseWithData (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14161:17)
at Parser.raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14122:17)
at Parser.unexpected (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16627:16)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24890:20)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseObjectProperty (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25485:101)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25510:100)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22818:11)
at Parser.parsePropertyDefinition (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25434:10)
at Parser.parseObjectLike (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25323:25)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24802:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseExprListItem (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25702:18)
at Parser.parseCallExpressionArguments (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24655:22)
at Parser.parseCoverCallAndAsyncArrowHead (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24562:29)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24495:19)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22422:18)
at Parser.parseSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24468:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24457:17)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.jsxParseExpressionContainer (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20379:31)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20474:36)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20459:32)
at Parser.jsxParseElement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20517:17)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20524:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:39
at Parser.tryParse (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16654:20)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:18)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseParenAndDistinguishExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25149:28)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24780:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25959:16)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.parseReturnStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26544:28)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26214:21)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
at Parser.parseBlockOrModuleBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26755:25)
at Parser.parseBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26746:10)
at Parser.parseBlock (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26730:10)
at Parser.parseFunctionBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25615:24)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25599:10)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22319:11)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26888:12
at Parser.withSmartMixTopicForbiddingContext (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25936:14)
at Parser.parseFunction (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26887:10)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27367:19)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22547:18)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27290:31)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22523:20)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26272:27)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
🐛 ERROR: SyntaxError: Unexpected token (18:35)
SyntaxError: Unexpected token (18:35)
at Parser._raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14168:17)
at Parser.raiseWithData (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14161:17)
at Parser.raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14122:17)
at Parser.unexpected (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16627:16)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24890:20)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseObjectProperty (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25485:101)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25510:100)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22818:11)
at Parser.parsePropertyDefinition (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25434:10)
at Parser.parseObjectLike (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25323:25)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24802:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseExprListItem (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25702:18)
at Parser.parseCallExpressionArguments (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24655:22)
at Parser.parseCoverCallAndAsyncArrowHead (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24562:29)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24495:19)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22422:18)
at Parser.parseSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24468:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24457:17)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.jsxParseExpressionContainer (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20379:31)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20474:36)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20459:32)
at Parser.jsxParseElement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20517:17)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20524:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:39
at Parser.tryParse (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16654:20)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:18)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseParenAndDistinguishExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25149:28)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24780:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25959:16)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.parseReturnStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26544:28)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26214:21)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
at Parser.parseBlockOrModuleBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26755:25)
at Parser.parseBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26746:10)
at Parser.parseBlock (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26730:10)
at Parser.parseFunctionBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25615:24)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25599:10)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22319:11)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26888:12
at Parser.withSmartMixTopicForbiddingContext (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25936:14)
at Parser.parseFunction (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26887:10)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27367:19)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22547:18)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27290:31)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22523:20)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26272:27)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
🐛 ERROR: SyntaxError: Unexpected token (18:35)
SyntaxError: Unexpected token (18:35)
at Parser._raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14168:17)
at Parser.raiseWithData (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14161:17)
at Parser.raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14122:17)
at Parser.unexpected (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16627:16)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24890:20)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseObjectProperty (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25485:101)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25510:100)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22818:11)
at Parser.parsePropertyDefinition (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25434:10)
at Parser.parseObjectLike (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25323:25)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24802:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseExprListItem (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25702:18)
at Parser.parseCallExpressionArguments (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24655:22)
at Parser.parseCoverCallAndAsyncArrowHead (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24562:29)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24495:19)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22422:18)
at Parser.parseSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24468:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24457:17)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.jsxParseExpressionContainer (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20379:31)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20474:36)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20459:32)
at Parser.jsxParseElement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20517:17)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20524:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:39
at Parser.tryParse (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16654:20)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:18)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseParenAndDistinguishExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25149:28)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24780:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25959:16)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.parseReturnStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26544:28)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26214:21)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
at Parser.parseBlockOrModuleBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26755:25)
at Parser.parseBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26746:10)
at Parser.parseBlock (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26730:10)
at Parser.parseFunctionBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25615:24)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25599:10)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22319:11)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26888:12
at Parser.withSmartMixTopicForbiddingContext (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25936:14)
at Parser.parseFunction (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26887:10)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27367:19)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22547:18)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27290:31)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22523:20)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26272:27)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
!!!x2!!!
🐛 ERROR: SyntaxError: Unexpected token (18:40)
SyntaxError: Unexpected token (18:40)
at Parser._raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14168:17)
at Parser.raiseWithData (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14161:17)
at Parser.raise (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:14122:17)
at Parser.unexpected (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16627:16)
at Parser.parseIdentifierName (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25732:18)
at Parser.parseIdentifier (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25710:23)
at Parser.parseMember (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24510:103)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24497:19)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22422:18)
at Parser.parseSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24468:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24457:17)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseObjectProperty (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25485:101)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25510:100)
at Parser.parseObjPropValue (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22818:11)
at Parser.parsePropertyDefinition (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25434:10)
at Parser.parseObjectLike (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25323:25)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24802:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseExprListItem (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25702:18)
at Parser.parseCallExpressionArguments (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24655:22)
at Parser.parseCoverCallAndAsyncArrowHead (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24562:29)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24495:19)
at Parser.parseSubscript (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22422:18)
at Parser.parseSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24468:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24457:17)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.jsxParseExpressionContainer (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20379:31)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20474:36)
at Parser.jsxParseElementAt (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20459:32)
at Parser.jsxParseElement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20517:17)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20524:19)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:39
at Parser.tryParse (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:16654:20)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22859:18)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25965:12)
at Parser.parseMaybeAssignAllowIn (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24146:17)
at Parser.parseParenAndDistinguishExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25149:28)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24780:23)
at Parser.parseExprAtom (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:20529:20)
at Parser.parseExprSubscripts (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24451:23)
at Parser.parseUpdate (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24431:21)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24409:23)
at Parser.parseMaybeUnary (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22928:20)
at Parser.parseExprOps (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24252:23)
at Parser.parseMaybeConditional (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24226:23)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24184:21)
at Parser.parseMaybeAssign (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22873:20)
at Parser.parseExpressionBase (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24124:23)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:39
at Parser.allowInAnd (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25959:16)
at Parser.parseExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:24118:17)
at Parser.parseReturnStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26544:28)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26214:21)
at Parser.parseStatementContent (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22562:18)
at Parser.parseStatement (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26166:17)
at Parser.parseBlockOrModuleBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26755:25)
at Parser.parseBlockBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26746:10)
at Parser.parseBlock (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26730:10)
at Parser.parseFunctionBody (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25615:24)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25599:10)
at Parser.parseFunctionBodyAndFinish (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22319:11)
at /Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26888:12
at Parser.withSmartMixTopicForbiddingContext (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:25936:14)
at Parser.parseFunction (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:26887:10)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27367:19)
at Parser.parseExportDefaultExpression (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:22547:18)
at Parser.parseExport (/Users/tazio/.vscode/extensions/lokalise.i18n-ally-2.12.0/dist/extension.js:27290:31)
Screenshots
The text was updated successfully, but these errors were encountered:
With the current implementation, only the last instance of useTranslation is taken into consideration.
This is a quote from #934
// Find matches of `useTranslations`, later occurences will override// previous ones (this allows for multiple components with different// namespaces in the same file).constregex=/useTranslations\(\s*(['"`](.*?)['"`])?/g...
Describe the bug
So in my React TSX file I have two "useTranslations":
When I go and use
t
the following code says:<h2>{ t('selection', { circuit: race.circuit }) }</h2>
:en: i18n key "generic.selection" does not exist
When I use
tGeneric
it doesn't even recognize the translationExtension Version
i18n Ally: v2.12.0
Framework/i18n package you are using
Next.js (+ Typescript) & package:
next-intl
To Reproduce
Steps to reproduce the behavior:
useTranslations
Device Infomation
Extension Log
Go to
View
->Output
->i18n Ally
, and paste the content below. You should mask any sensitive informationScreenshots
The text was updated successfully, but these errors were encountered: