Closed EmmanuelDemey closed 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?
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
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 filePW1.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/136What do you think ?