Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
semtselishev opened this issue Oct 11, 2024 · 1 comment

Comments

@semtselishev
Copy link

semtselishev commented Oct 11, 2024

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

@semtselishev
Copy link
Author

I'm using lokalise2 version 3.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant