Skip to content

[BUG] Sherlock extension overrides non-en baseLocale #181

@fr33bits

Description

@fr33bits

I'm encountering an issue where if baseLocale in settings.json is set to a non-en locale, merely saving one of the translation files causes baseLocale to be overriden and set to en. The issue is apparently not present if the extension is disabled and the compilation happens inside vite dev (upon every change), therefore it seems that the extension is to blame.

Perhaps this has something to do with en being baseLocale when the project was first set up because deleting src/lib/paraglide in my SvelteKit project seems to fix the issue, which seems to indicate that the extension does not properly interact with those files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions