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

Translation and the need of a format version #584

Open
albertmink opened this issue Jan 31, 2024 · 0 comments
Open

Translation and the need of a format version #584

albertmink opened this issue Jan 31, 2024 · 0 comments

Comments

@albertmink
Copy link
Contributor

Scenario where the ABAP object with translation is available in a gCTS managed git repository, say in format version 1.
During development the format version is increased to 2 and some changes have been committed to the git repository. Then, the metadata file (<object_name>.<object_type>.json) has formatVersion = 2, however the translation file is (implicitly) still format version 1.
Now, as the translation file is heavily linked to the metadata file through JSONPaths, the translation file is no longer meaningful/valid.

We consider to introduce a format version to the translation file to keep them in sync with the metadata file. Or to detect whether they are not in sync, and allow for a 'upgrade' of the translation files.

Properties file have comments. Every line that starts with # or ! is treated as a comment. Hence, we could add

# formatVersion=1

to the translation file.

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