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

[Question] Are there any examples (e.g. GitLab CI)? #134

Open
matzeeable opened this issue Jun 11, 2021 · 0 comments
Open

[Question] Are there any examples (e.g. GitLab CI)? #134

matzeeable opened this issue Jun 11, 2021 · 0 comments

Comments

@matzeeable
Copy link

Hey!

We want to introduce Continuous Localization to our project, and I stumbled over this promising tool. I think I have understood the main concepts:

  • Serge for Translation Management and syncing with VCS (in our case GIT)
  • Zing for UI

Now, I would be happy to hear some thoughts how we can implement this to our existing GIT repository (GitLab) and implement it within our CI/CD. We have multiple .po files inside it (not in .gitignore, they should be synced, correct?). My initial thoughts are as this:

  • In our CI/CD we have a job to build our application (build)
  • We want to add a job that extracts strings to .pot,.po,.mo (for this, we are using wp i18n make-pot)
  • We need to somehow tell Serge to obtain the new strings? Or do we need to push the newly created .pot files to our VCS? Does this not often lead to merge conflicts?
  • We are doing some translation via Zing
  • Serge pushes back the .pot,.po,.mo files to our GIT repository
  • The next time the build runs, it uses the new translations

Do you have any example how this could work with a CI/CD? Unfortunately I did not find anything in your documentation.

Regards,
Matthew 😊

@matzeeable matzeeable changed the title [Question] Are there any examples (e.g. GitLab CI) [Question] Are there any examples (e.g. GitLab CI)= Jun 11, 2021
@matzeeable matzeeable changed the title [Question] Are there any examples (e.g. GitLab CI)= [Question] Are there any examples (e.g. GitLab CI)? Jun 11, 2021
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