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

Support key-value JSON files (Import/Export) #27

Open
fhammerschmidt opened this issue Jan 23, 2025 · 0 comments
Open

Support key-value JSON files (Import/Export) #27

fhammerschmidt opened this issue Jan 23, 2025 · 0 comments

Comments

@fhammerschmidt
Copy link
Member

Currently, all JSON files are structured like this:

[
  { "id": "key.name", "defaultMessage": "translation message"}
]

but sometimes the simplified format is enough:

[
  { "key.name": "translation message"}
]

E.g. the first example could be the source file and the latter could be the target one.

When importing a JSON as source (the first file that is imported), we should first check if it is a source file and if not we can assume it is the simplified format.

For the output I would like to not have another JSON-Button. Probably every column should have a dropdown component that contains a dropdown button on the right but is also just a button to export with the last used export method.

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