Skip to content

different key seperator #36

@ghost

Description

how can i choose another seperator for the keys - i have the problem that the default seperator '\' causes a lint error.
Example:

generated in vue component:
<div class="n-view-title">{{ $t('src\components\administration\user\index.title') }}</div>

generated in locals/en.json:
{ "src\\components\\administration\\user\\index": { "title": "New user" } }

this works of course but cause my linter to throw errors.
A seperator like '.' instead of '\' would also work!

How can i change this?

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