Zenika-Training / zenika-formation-framework

Tools to build and present our training material
8 stars 25 forks source link

feat: give the possibility to have materials specific to a country #238

Closed EmmanuelDemey closed 5 years ago

EmmanuelDemey commented 5 years ago

After a talk with @ncuillery and @T3kstiil3 about trainings materials, here is a POC if we want to make our materials specific for an agency / country / ...

We just need, for both slides and PW, create a specific folder for the agency (let say ca for canada), and use the new locale CLI parameter. If for exanple, I want to create a specific version of the PW file PW1.md, we juste need to create a /ca/PW1.md file.

Thanks to this first architecture, we can make a complete chapter / PW specific to an agency.

Next step, have a look if it is possible to make this behavior possible for specific slides (and not the complete chapter)

I also updated the repo Formation--Modele https://github.com/Zenika/Formation--Modele/pull/136

What do you think ?

hgwood commented 5 years ago

Thanks for your patience. The code looks very nice, the solution is super simple and I like it. But what's the use case?

EmmanuelDemey commented 5 years ago

Zenika Montreal for example want to be able to insert specific content, related to the country, culture or way of teaching things. Something we do not care in France for the moment. This PR is a first step. It will be great to be able to do the same think at the level of a slide.

ping @T3kstiil3