GithubHelp home page GithubHelp logo

charlesprescottcollins / elixirschool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elixirschool/elixirschool

0.0 1.0 0.0 6.77 MB

Premier destination to learn and master the Elixir programming language

Home Page: https://elixirschool.com

License: Apache License 2.0

Ruby 8.53% JavaScript 19.38% CSS 56.31% HTML 15.77%

elixirschool's Introduction

Elixir School

Elixir School is the premier destination for people looking to learn and master the Elixir programming language.

Lessons can now be viewed at ElixirSchool.com.

Feedback and participation is strongly encouraged! Please see Contributing for more details on how to get involved.

Running

ElixirSchool.com is generated using Jekyll. To run locally you need both Ruby and Bundler installed.

  1. Install dependencies:

    $ bundle install
  2. Run Jekyll:

    $ bundle exec jekyll s
  3. Read it at http://localhost:4000

Translating

In addition to the steps above there are a few addition steps required for translation.

New Language

  1. Create a folder using the ISO language code (e.g. ja, zh-hans, es, et al) with lesson subfolders. Not sure which language code to use? Check here for the official list.
$ cd elixirschool
$ mkdir -p ja/lessons/{basics,advanced,specifics,libraries}
$ touch ja/lessons/{basics,advanced,specifics,libraries}/.gitkeep
  1. Add your language code to _data/interlang.yml and translate the language names:
ja:
 ar: アラビア語
 bg: ブルガリア語
 bn: ベンガル語
 cn: **語
 de: ドイツ語
 en: 英語
 es: スペイン語
 fr: フランス語
 gr: ギリシャ語
 id: インドネシア語
 it: イタリア語
 ja: 日本語
 ko: 韓国語
 ms: マレーシア語
 "no": ノルウェー語
 pl: ポーランド語
 pt: ポルトガル語
 ru: ロシア語
 sk: スロバキア語
 ta: ターミル語
 tr: トルコ語
 uk: ウクライナ語
 vi: ベトナム語
 th: タイ語
  1. Create a locale file for your new language using _data/locales/en.yml as a guide:
$ touch _data/locales/ja.yml
  1. If the new language is RTL (right-to-left) it should be added to the rtl_languages list in config.yml:
script_direction: rtl

Translated Lesson

  1. Translated lessons must include the page metadata.

    • title should be a translation of the original lesson's title.
    • version should be set to the original English version

    For example /ja/lessons/basics/basics.md:

---
title: 基本
version: 1.0.0
---

New Lessons

Contributing a new lesson? Wonderful! In addition to creating the new lesson be sure to add it to _data/contents.yml.

elixirschool's People

Contributors

doomspork avatar nscyclone avatar koziolek avatar gemantzu avatar eksperimental avatar pragmaticivan avatar riseshia avatar fabon-f avatar marocchino avatar stompy-bot avatar michalvalasek avatar rezaprima avatar adamgavlak avatar 3100 avatar pjhampton avatar yosangwon avatar cizixs avatar rafalbig avatar milmazz avatar andreapavoni avatar brain-geek avatar anderkonzen avatar erickgnavar avatar ybur-yug avatar yasinyaman avatar crabonature avatar malkog avatar scouten avatar jinyeow avatar julienxx avatar

Watchers

Charles Prescott Collins IV avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.