Screwdriver: How about trying GitLocalize instead of Locki

Created on 23 May 2017  路  13Comments  路  Source: screwdriver-cd/screwdriver

We are currently using Locki to localize the documents. It's so easy to work and simple enough.
But there are some issues like

  • Translated sentences aren't reviewed.
  • It's hard to check diffs between original docs and translated one.

This is current translated docs of docs.screwdriver.cd. I can see some incorrect translations.
image

I think GitLocalize can resolve these issues. It makes translation reviewable and manageable by git.
It seems that the only prerequisite is that docs are managed by GitHub. This suits for us.

What do you think about introducing GitLocalize?

Most helpful comment

@catto I am an engineer of GitLocalize and creating language switcher for Node.js website but I will make it be OSS. I can help you configure it in your website

All 13 comments

@catto I didn't try using it but it looks good from the demo video.

It makes translation reviewable and manageable by git

This is good. If you want to, you can go ahead and try changing it!

@d2lam Thanks! I'm going to work on it

+1

Thank you for reviewing it, @catto! We'd love to help to migrate all translations into GitLocalize once you integrate the repo with it. cc: @sotayamashita

@catto I am an engineer of GitLocalize and creating language switcher for Node.js website but I will make it be OSS. I can help you configure it in your website

I tried GitLocalize on my repository which I forked from screwdriver-cd/guide.

  • Automatically generate files and translate image paths.
  • Easily review

But there are some issues.

  • To show localized pages, we have to edit mkdocs.yml.
  • mkdocs does not support multi languages, it has to show all languages menu bar like below.
    2017-06-24 10 26 07

We want to switch these two display.
2017-06-24 10 36 04
2017-06-24 10 36 52

Do you have any ideas to switch multi languages using GitLocalize with mkdocs?

@kumada626

Thank you for your feedback!
We are shipping YAML file support in few weeks but if mkdocs doesn't support i18n, that'd be actually hard.

Would it be difficult on your side to migrate to let's say, Jekyll since it supports multi-languages?

@chikathreesix One of the reasons we picked Mkdocs was for the built-in search feature. It's totally possible to move to Jekyll, just need to pick a good search plugin.

@kumada626 would you be interested in experimenting with using Jekyll instead of Mkdocs?

@stjohnjohnson I'm interested in experimenting with using Jekyll instead of Mkdocs, but I have never used Jekyll before therefore I don't know a good search plugin of Jekyll.

@chikathreesix It's not certain how it would be difficult because I don't know how Jekyll supports multi-language. However, I think it's worth trying if there is a good search plugin of Jekyll. Do you know any good search plugin of Jekyll?

@stjohnjohnson I try experimenting with using Jekyll instead of Mkdocs. https://github.com/screwdriver-cd/guide/pull/88
It seems to work almost like the current pages and still can search.
In this state of repository, I think that GitLocalize can also be used.
When I actually tried it in my repository, GitLocalize seemed to work well.

To use Gitlocalize, we have to register the screwdriver-cd/guide repo to Gitlocalize like below.
2017-07-20 7 08 29
After registering repo to Gitlocalize, we can localize the documents using Gitlocalize.
So please register the screwdriver-cd/guide repo to Gitlocalize.

The GitLocalize project of screwdriver-cd/guide is below.
https://gitlocalize.com/repo/160
Now, we can localize documents by using GitLocalize.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yoshwata picture yoshwata  路  5Comments

jeffreytolar picture jeffreytolar  路  3Comments

tk3fftk picture tk3fftk  路  5Comments

stjohnjohnson picture stjohnjohnson  路  5Comments

tk3fftk picture tk3fftk  路  3Comments