Skip to content

[Bug]: Translation not found when contains non-standard character #400

Closed
laravel/vs-code-php-parser-cli
#21
@webard

Description

@webard

Extension Version

1.0.8

PHP Binary

Valet

Operating System

macOS

What happened?

My app contains string like this:

{
    "Where to find the ID: Log in to the dashboard, go to Products → Settings → Categories, then click Edit next to the selected category. The category ID can be found on the left side at the bottom of the form.": "Gdzie znaleźć ID: Zaloguj się do panelu, przejdź do Produkty → Ustawienia → Kategorie, a następnie kliknij Edytuj obok wybranej kategorii. ID kategorii znajduje się po lewej stronie na dole formularza."
}

But this string is marked as untranslated by Laravel extension. When I delete arrows from string, everything works correctly.

Mimimal Code Sample

Activity

webard

webard commented on Jun 9, 2025

@webard
Author

I have string API / ERP in pl.json and it is not detected correctly too.

N1ebieski

N1ebieski commented on Jun 9, 2025

@N1ebieski
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @webard@joetannenbaum@N1ebieski

    Issue actions

      [Bug]: Translation not found when contains non-standard character · Issue #400 · laravel/vs-code-extension