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

Loops through files but Found 0 strings. Common mistakes? #67

Open
chauey opened this issue Dec 18, 2024 · 1 comment
Open

Loops through files but Found 0 strings. Common mistakes? #67

chauey opened this issue Dec 18, 2024 · 1 comment

Comments

@chauey
Copy link

chauey commented Dec 18, 2024

I have an Angular app in a Nx workspaces. I run the command and it loops through html and ts files, but it says Found 0 strings. Angular 17. What could I be missing? It extracts out strings like innerText and attributes? Thanks.

NPX ngx-translate-extract --input ./apps/b2c/src --output ./apps/b2c/src/assets/i18n/template.json

  • C:\ws\m\m-web\apps\b2c\src\app\components\add-payments\add-payment-methods.component.html
    ...
  • C:\ws\m\m-web\apps\b2c\src\app\components\add-payments\add-payment-methods.component.ts

Found 0 strings.

Saving:

  • C:\ws\m\m-web\apps\b2c\src\assets\i18n\template.json [MERGED]
@pmpak
Copy link

pmpak commented Jan 6, 2025

Hello @chauey, would it be possible to show the usage of the translate pipe in the template and the translate service in the ts files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants