Skip to content

Uploading 2 json. files with the same Key name via CLI does not work correctly #164

@semtselishev

Description

@semtselishev

I have 2 json files:

  1. file1.json:
{  "subject": "Subject1" }
  1. file2.json:
{  "subject": "Subject2" }

as you can see, they both have the same subject key.

When I run commands to upload my json files:

lokalise2 file upload --lang-iso en --file "src/file1.json" --project-id <project_id> --token <token_id>
lokalise2 file upload --lang-iso en --file "src/file2.json" --project-id <project_id> --token <token_id>

I got uploaded only the subject from the first file1.json

Expected behavior: both subject keys are uploaded and assigned to different files in localise.
Everything works OK when they keys are different

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