File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,11 +37,10 @@ pages.
3737
3838
39391 . Make a new directory ` zz ` as a copy of the English pages in ` en ` , including the subdirectory ` en/includes `
40- 2 . Add the two letter code ` zz ` to the ` langs: ` array in the ` _config.yml ` file.
41- 3 . Change all instances of ` en/ ` in ` zz/index.md ` to ` zz/ `
42- 4 . Translate the fixed strings in ` zz/includes/buttons.js ` into your language.
40+ 2 . Change all instances of ` en/ ` in ` zz/index.md ` to ` zz/ `
41+ 3 . Translate the fixed strings in ` zz/includes/buttons.js ` into your language.
4342 This is for the buttons used in examples such as "Open in Overleaf".
44- 5 . Add a new entry in ` _data/languages.yml ` . This should specify the
43+ 4 . Add a new entry in ` _data/languages.yml ` . This should specify the
4544 code, the name of your language in the language and in English, for example
4645 the French entry is
4746
5049 label-regional: Français
5150 label-english: French
5251 ```
53- 6 . Update each section of ` _data/translations.yml ` with an entry for
52+ 5 . Update each section of ` _data/translations.yml ` with an entry for
5453 each of the fixed strings in the site. So for example the entry for "Next Lesson"
5554 should be amended to have a ` zz: ` entry:
5655
Original file line number Diff line number Diff line change @@ -32,99 +32,3 @@ compress_html:
3232 profile : false
3333 startings : [html, head, body]
3434
35-
36- # LANGUAGES, LABELS, LAYOUTS
37- # Settings for multilingual set up:
38- # In alphabetical order by language code.
39- # In ascending order by path specifity.
40- # https://jekyllrb.com/docs/configuration/front-matter-defaults/
41- defaults :
42- -
43- scope :
44- path : " "
45- values :
46- lang : " en"
47- -
48- scope :
49- path : " de"
50- values :
51- lang : " de"
52- label : " Deutsch"
53- -
54- scope :
55- path : " en"
56- values :
57- lang : " en"
58- label : " English"
59- -
60- scope :
61- path : " es"
62- values :
63- lang : " es"
64- label : " Español"
65- -
66- scope :
67- path : " fr"
68- values :
69- lang : " fr"
70- label : " Français"
71- -
72- scope :
73- path : " ja"
74- values :
75- lang : " ja"
76- label : " 日本語"
77- -
78- scope :
79- path : " lt"
80- values :
81- lang : " lt"
82- label : " Lietuviškai"
83- -
84- scope :
85- path : " pt"
86- values :
87- lang : " pt"
88- label : " Português"
89- -
90- scope :
91- path : " vi"
92- values :
93- lang : " vi"
94- label : " Tiếng Việt"
95- -
96- scope :
97- path : " tr"
98- values :
99- lang : " tr"
100- label : " Türkçe"
101- -
102- scope :
103- path : " hi"
104- values :
105- lang : " hi"
106- label : " हिंदी"
107- -
108- scope :
109- path : " mr"
110- values :
111- lang : " mr"
112- label : " मराठी"
113- -
114- scope :
115- path : " ca"
116- values :
117- lang : " ca"
118- label : " Català"
119- -
120- scope :
121- path : " zh-hans"
122- values :
123- lang : " zh-hans"
124- label : " 中文(简体)"
125- -
126- scope :
127- path : " zh-hant"
128- values :
129- lang : " zh-hant"
130- label : " 中文(繁體)"
You can’t perform that action at this time.
0 commit comments