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

Request for translation branches and sites #27

Open
guoyunhe opened this issue Apr 6, 2020 · 15 comments
Open

Request for translation branches and sites #27

guoyunhe opened this issue Apr 6, 2020 · 15 comments
Labels
enhancement New feature or request

Comments

@guoyunhe
Copy link
Contributor

guoyunhe commented Apr 6, 2020

The plan is to create branches:

  • lang/de
  • lang/fr
  • lang/ja
  • lang/pt
  • lang/zh
  • ...

And they will be deployed to:

  • news.opensuse.org/de/
  • news.opensuse.org/fr/
  • news.opensuse.org/ja/
  • news.opensuse.org/pt/
  • news.opensuse.org/zh/

Or:

  • de.news.opensuse.org/
  • fr.news.opensuse.org/
  • ja.news.opensuse.org/
  • pt.news.opensuse.org/
  • zh.news.opensuse.org/

How contributors participate translations:

  1. Fork the repo
  2. Checkout the lang branch
  3. Merge master branch to get latest posts
  4. Translate latest posts
  5. Commit and create PR (to the lang branch)
  6. Review, accept and deploy the lang branch
@hellcp
Copy link
Member

hellcp commented Apr 6, 2020

Sure, but I would be curious what amount of interest there is in translations, and who would be responsible for reviewing contents of the PRs to different branches (and it would be best if the translator and the reviewer were two different people). I think that should be figured out first and then we can figure out which languages require branches.

@guoyunhe
Copy link
Contributor Author

guoyunhe commented Apr 6, 2020

Yes. It can be created on request. The Chinese community has been discussing about it for some time. Maybe not every article, but we do want to translate articles of some important events, like oSC, Leap milestones. If the Chinese site is going well, then other community may also join.

@vinzv
Copy link
Member

vinzv commented Apr 6, 2020

Just a thought: could we bring the files here together with Weblate on l10n-o-o? This might broaden the translators base.

@hellcp
Copy link
Member

hellcp commented Apr 6, 2020

Yes, but it would be very hard to limit the amount of articles that would land on Weblate so you would end up with 1600 articles for translation in Weblate right away, and I don't think we need that to be perfectly honest.

@hellcp
Copy link
Member

hellcp commented Apr 6, 2020

Although you know what, considering that jekyll-task-i18n allows for specifying the titles of articles that get translated with a glob or a regex for example, that's actually pretty easy

@guoyunhe
Copy link
Contributor Author

guoyunhe commented Apr 6, 2020

We can set a limitation (through script probably): only articles published in the last 30 days will appear on weblate. Old articles will be frequently removed from weblate.

@hellcp
Copy link
Member

hellcp commented Apr 6, 2020

We just need to specify non-default rake task, since our infra runs rake automatically if Rakefile exists, and we also need action for running rake and committing back to the repo every week or so

@vinzv
Copy link
Member

vinzv commented Apr 7, 2020

That all sounds a bit too much work "just" to get translations ready. Let's stick with original plan by @guoyunhe.

@hellcp
Copy link
Member

hellcp commented Apr 7, 2020

I would argue it's easier overall, it's not a terrible idea

@vinzv
Copy link
Member

vinzv commented Apr 7, 2020

Okay, sounded more troublesome to me. Don't let yourself get kept back from work. :-)

@guoyunhe
Copy link
Contributor Author

guoyunhe commented Apr 7, 2020

the original branches solution has an advantage: local communities can publish local news article, like a local meet up, release parties.

the weblate solution is a bit hard for scripting. just for the devs.

the branch solution is a bit hard for making and reviewing PRs. for every contributors.

@vinzv
Copy link
Member

vinzv commented Apr 7, 2020

the branch solution is a bit hard for making and reviewing PRs. for every contributors.

Yes, but luckily they can do all of that even via the web interface here on GH. That makes it easier for not so tech-savvy writers.

Btw: I'd go with news.opensuse.org/lang-code/ to make things more accessible.

@hellcp
Copy link
Member

hellcp commented Nov 5, 2020

Btw: I'd go with news.opensuse.org/lang-code/ to make things more accessible.

Allows us to avoid having to generate a new certificate for *.news.opensuse.org ;)

@ddemaio ddemaio added the enhancement New feature or request label Nov 14, 2020
@alexandrevicenzi
Copy link
Contributor

Hi, What is the status of this? We would like to have a pt-BR version of news.

Hugo has very good support for translations, everything is build-in into it. Migrating from Jekyll won't be that hard. Hugo is still similar and will require some coding knowledge to make it work, but a lot of things can be done with GH Actions and GH Pages.

On the other hand, Hugo has good integration with Netlify, and this allows users without coding skills to create, update, and review articles.

I would be willing to give it a try, along with some folks from Brazil we could set up and migrate everything.

@hellcp
Copy link
Member

hellcp commented May 25, 2021

Currently the effort here mostly moved to newscom, so you should probably ask there. We do have a plugin in jekyll that enables us to do translations though, take a look at https://get.opensuse.org as an example

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

5 participants