lmanul / whylinuxisbetter

Code for the www.whylinuxisbetter.net web site.
Other
35 stars 13 forks source link

Clunky Language #20

Closed boojiboy closed 5 years ago

boojiboy commented 9 years ago

You should consider adding each language as a GET variable to a single file, and then mask it in .htaccess instead of having an individual file for every language. e.g. index.php?lang=ru --> home/ru/ faq.php?lang=ar --> faq/ar/

It looks cleaner, and is easier to manage styling within a page (changing it once, instead of changing in 20+ times)

lmanul commented 8 years ago

Very much agreed! Pull requests welcome ;-)

apfeltee commented 8 years ago

Speaking of which, maybe even do it using a static site generator, so that each page can be written in a markup language (such as markdown)? That'd eliminate the need for PHP altogether, and makes building/publishing quite a bit easier, at least in my experience.

lmanul commented 5 years ago

No more PHP now. If you'd like to fix my shaky English, pull requests are very welcome!