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] Add source translation file to CI/CD artifacts #1046

Open
cegekaJG opened this issue Apr 22, 2024 · 1 comment
Open

[Feature Request] Add source translation file to CI/CD artifacts #1046

cegekaJG opened this issue Apr 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cegekaJG
Copy link
Contributor

If an AL project uses an external translation service such as Weblate, it would be very useful to expose the source translation file through some workflow. I've requested splitting the compiler and XLIFF generator into two separate scripts, but as long as this feature remains unimplemented, I think it's best to give AL Go an option to add the source translation file to the output of the CI/CD workflow, since this pipeline already generates the required file.
While it is possible to have the developers push changes to the translation files, this solution comes with many unnecessary merge conflicts, and this solution could avoid this by putting a dedicated source in charge of the translation files.
The solution would require a setting like addTranslationToArtifacts, which simply enforces the TranslationFiles feature flag for the compiler and adds the *.g.xlf files into their own zip file and adds them to the workflow artifacts.
Alternatively, the build pipeline could also push changes to the source translation file - that way, developers wouldn't have to generate the translation file on build, and it would still be in the repository.

@freddydk
Copy link
Collaborator

Translation is something we will be looking at to add to AL-Go for GitHub and I have been collecting ideas for this.
I will add this information to that pile.

@freddydk freddydk added the enhancement New feature or request label Apr 22, 2024
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

2 participants