Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Angular Transloco Extract all hard-coded strings? #1253

Open
chauey opened this issue Dec 18, 2024 · 0 comments
Open

Can Angular Transloco Extract all hard-coded strings? #1253

chauey opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chauey
Copy link

chauey commented Dec 18, 2024

Describe the bug
I try to use the "Extract all hard-coded strings (experimental)" and see Bulk extracting message with file, and Extracing [0] and no results.

Extension Version

Framework/i18n package you are using
transloco

To Reproduce
Steps to reproduce the behavior:

  1. In VS Code, right click on a file or folder and choose "Extract all hard-coded strings (experimental)"
  2. See Bulk Extracting file and Extracting [0] file but no results

Device Infomation

  • OS: Windows 11 Home
  • Version: 23H2
  • VS Code Version: 1.95.3

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

🧰 Config "i18n-ally.enabledFrameworks" changed, reloading
🔁 Reloading loader
🧩 Enabled frameworks: Angular Transloco
🧬 Enabled parsers: json, yaml, json5

🚀 Initializing loader "c:\ws\m\m-web"
📂 Directory structure: file
🗃 Path Matcher Regex: /^(?<locale>[\w-_]+)\.(?<ext>json|ya?ml|json5)$/

📂 Loading locales under c:\ws\m\m-web\apps\b2c\src\assets\i18n
	📑 Loading (br) br.json [1733805903578.9072]
	📑 Loading (en) en.json [1734491397025.825]
	📑 Loading (es) es.json [1734451014528.7617]
	📑 Loading (fr) fr.json [1734451014672.676]
	📑 Loading (template) template.json [1734493292755.0183]
	📑 Loading (tr) tr.json [1733805903580.9775]
	📑 Loading (vi) vi.json [1733805903580.9775]

👀 Watching change on c:\ws\m\m-web\apps\b2c\src\assets\i18n
✅ Loading finished


――――――

📤 Bulk extracting
  c:\ws\m\m-web\apps\b2c\src\app\components\add-payments\add-payment-methods.component.html
📤 Extracting [0] c:\ws\m\m-web\apps\b2c\src\app\components\add-payments\add-payment-methods.component.html

Screenshots

@chauey chauey added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant