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

[Feature Request]: composer-lockfile style translations lockfile #37

Open
1 task done
strarsis opened this issue Jan 27, 2023 · 0 comments
Open
1 task done

[Feature Request]: composer-lockfile style translations lockfile #37

strarsis opened this issue Jan 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@strarsis
Copy link

Is your feature request related to a problem?

Locking specific translation versions increases control over what translations are used and allows reproducible translation strings.
Verifying installed translations on an individual file-level also ensures the integrity of installed language files.

Describe the desired solution

It would be better if the translation download treats a translation lockfile like a composer lockfile.
The translation lockfile is then not git-ignored but rather added to the project, with the exact versions of the translation files to be downloaded and used for the project.
During translations install the translation downloader should then verify the presence of required version for each individual translation file and replace/remove translation files where this isn't the case - in the same way as composer treats its lockfiles.

Describe the alternatives that you have considered

Alternatively all translation files would have to be added to the project, but those are external dependencies. like their WordPress core/plugin/theme counterparts.

Additional context

#36

Code of Conduct

  • I agree to follow this project's Code of Conduct
@strarsis strarsis added the enhancement New feature or request label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant