Skip to content

Commit fdef103

Browse files
committed
remove unused language defaults from _config.yml
1 parent 5aa4eaa commit fdef103

2 files changed

Lines changed: 4 additions & 101 deletions

File tree

TRANSLATIONS.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ pages.
3737

3838

3939
1. 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

@@ -50,7 +49,7 @@ pages.
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

_config.yml

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff 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: "中文(繁體)"

0 commit comments

Comments
 (0)