-
Notifications
You must be signed in to change notification settings - Fork 1k
Translating
Ivan Santos edited this page Mar 12, 2016
·
2 revisions
- Create a folder using the 2 character code (e.g. jp, en, es, etc) with lesson subfolders:
$ cd elixir_school
$ mkdir -p jp/lessons/{basics,advanced,specifics}
- Update
_config.yml
by including the 2 character code inlanguages
and adding translations tosections
anddescription
:
languages: ['en', 'jp']
default_lang: en
exclude_from_localization: []
sections:
- tag: basics
label:
en: Basics
jp: 基本
description:
en: Lessons about the Elixir programming language
pt: Lições sobre a linguagem de programação Elixir
-
Create the lesson in the appropriate language subfolder.
-
Translated lessons must include
lang: XX
in the page meta data. For example/jp/lessons/basics/basics.md
:
---
layout: page
title: 基本
category: basics
order: 1
lang: jp
---