micro-os-plus / web-jekyll

The complete Jekyll source for the µOS++ IIIe web site
http://micro-os-plus.github.io
2 stars 7 forks source link

new sidebar translation approach. #22

Closed carlosdelfino closed 7 years ago

carlosdelfino commented 7 years ago

What/why?

Previously the sidebar had code that selected each text to be presented, becoming a large file full of if instructions for each possible language to be inserted.

In the new approach the file is selected according to the language, being used the default when not informed or when it is the English language.