source for learnlayout.com
This is the source for "learnlayout.com":http://learnlayout.com in case you're curious how it was built.
h2. How to Build
sudo easy_install pygmentson Mac ** Last tested version was 2.7.2
h2. How to Translate
Translation files live in the "translations":https://github.com/incompl/csslayoutsite/tree/master/translations directory. Each file is a "2-letter ISO 639-1 language code":http://www.loc.gov/standards/iso639-2/php/code_list.php and the YAML file extention.
If you're not familiar with YAML, it's a very simple human-readable data format. Each line contains a translation code, a colon, and a value in quotes. The translation codes are the same in every language, and the actual translation on the right is in the appropriate language for the file.
To contribute to a translation, start with "en.yaml":https://github.com/incompl/csslayoutsite/blob/master/translations/en.yaml and either "email me":mailto:[email protected] translated YAML files or make pull requests against this repository if you know how.
To test a translation, change the @[email protected] property in "config.yml":https://github.com/incompl/csslayoutsite/blob/master/templates/config.yml before you build. If you choose an RTL language you need to add the line @rtl: [email protected] to the config.
"Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)":https://creativecommons.org/licenses/by-nc/4.0/