Skip to content

Define language order when infusing if extract used --split #247

Open
@mrleblanc101

Description

@mrleblanc101

Currently, all my FR string are first and EN are second.
When I extract this is fine.
When I infuse, the string are inserted by alphabetical order of lang, which mean EN first.
This and #246 mean all my lines are changed if i were to commit the updated translation.

Here are my commands:

"i18n:extract": "vue-i18n-locale-message squeeze --target src --split --output messages",
"i18n:infuse": "vue-i18n-locale-message infuse --target src --locales messages --match '^([\\w-]*)\\.json$' -p=.prettierrc"

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