nodeschool / montreal

🍁🗻 Montreal NodeSchool chapter
https://nodeschool.io/montreal/
25 stars 19 forks source link

[WIP] Implement i18n to support French page translations #43

Closed matchai closed 5 years ago

matchai commented 8 years ago

Heya! 👋 I've gone ahead and begun implementing i18n to take care of #1, using jekyll-multiple-languages-plugin. 🇨🇦

So far it's been smooth sailing until I realized that the checkout process is done using a widget. After reading through the docs to Tito, it doesn't look like they've got support for i18n. It looks like you can however add an html attribute to the widget to show specific tickets.

@pcuci: Would you be able to add secondary tickets of each kind with a french label as well? We can filter out the English ones on French checkout and vice-versa.

I've also gone ahead and created a Gemfile to speed up initial setup, since we are adding more than a couple dependencies. Just so we use the correct version of Jekyll, can someone confirm if the live version of the site is the one being hosted on gh-pages? If so, I'll also include pages-gem as a dependency. 💎

I'm mostly done implementing translation tags throughout the index of the site. If anyone's got any feedback or suggestions as to how this can be done in a better/simpler/faster way, please let me know! 😀

matchai commented 8 years ago

As an added note, could one of the project managers apply for a Crowdin license? We could use the GitHub integration to have approved translations added to the project directly

pcuci commented 7 years ago

@matchai could you rebase and resend PR please?

Does github/pages-gem#401 block us? Re: #1

matchai commented 7 years ago

@pcuci That issue does block us as long as we don't have a CI system or a build process. I can make us a gulp build and deploy process when I've got some free time.

RichardLitt commented 7 years ago

@matchai Any updates on this? :)

matchai commented 7 years ago

@RichardLitt I was waiting to get github integration approved for the build and hosting platform you had suggested at a previous nodeschool meetup (who's name I can't remember off the top of my head).

RichardLitt commented 7 years ago

Probably Netlify?

matchai commented 7 years ago

That's the one! Since I'm not in the nodeschool org, I don't have the ability to configure the repo with Netlify. I had sent an email at the time asking for a hand, but I guess that's now long gone.

RichardLitt commented 7 years ago

I had sent an email at the time asking for a hand, but I guess that's now long gone.

I doubt anyone is watching the emails. Open an issue on the GitHub organization. That might help?

ajmas commented 7 years ago

I could look at a CI solution. The two I have played with recently are Travis and Circle CI, which both offer free solutions to public repos. They both have Github integrations.

ajmas commented 7 years ago

Have created issue #66 for CI support.

ajmas commented 7 years ago

Okay, went and completed the work for CI. I took the chance and made gh-pages-src the source branch for gh-pages, with Travis deploying to gh-pages branch. The changes here will need to be done agains the new branch. Hope that is okay.