Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vernacular names of languages #244

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[defaults]
# name has no default, it is mandatory.
# name is in the format: EnglishName | VernacularName
in_prod = true
html_only = false
sphinxopts = [
Expand All @@ -12,30 +13,30 @@ sphinxopts = [
name = "English"

[languages.es]
name = "Spanish"
name = "Spanish | español"
sphinxopts = [
'-D latex_engine=xelatex',
'-D latex_elements.inputenc=',
'-D latex_elements.fontenc=\\usepackage{fontspec}',
]

[languages.fr]
name = "French"
name = "French | français"
sphinxopts = [
'-D latex_engine=xelatex',
'-D latex_elements.inputenc=',
'-D latex_elements.fontenc=\\usepackage{fontspec}',
]

[languages.id]
name = "Indonesian"
name = "Indonesian | Indonesia"
in_prod = false

[languages.it]
name = "Italian"
name = "Italian | italiano"

[languages.ja]
name = "Japanese"
name = "Japanese | 日本語"
sphinxopts = [
'-D latex_engine=lualatex',
'-D latex_elements.inputenc=',
Expand All @@ -58,7 +59,7 @@ sphinxopts = [
]

[languages.ko]
name = "Korean"
name = "Korean | 한국어"
sphinxopts = [
'-D latex_engine=xelatex',
'-D latex_elements.inputenc=',
Expand All @@ -67,29 +68,29 @@ sphinxopts = [
]

[languages.pl]
name = "Polish"
name = "Polish | polski"

[languages.pt_BR]
name = "Brazilian Portuguese"
name = "Brazilian Portuguese | Português brasileiro"

[languages.tr]
name = "Turkish"
name = "Turkish | Türkçe"

[languages.uk]
name = "Ukrainian"
name = "Ukrainian | українська"
in_prod = false
html_only = true

[languages.zh_CN]
name = "Simplified Chinese"
name = "Simplified Chinese | 简化字"
sphinxopts = [
'-D latex_engine=xelatex',
'-D latex_elements.inputenc=',
'-D latex_elements.fontenc=\\usepackage{xeCJK}',
]

[languages.zh_TW]
name = "Traditional Chinese"
name = "Traditional Chinese | 簡化字"
sphinxopts = [
'-D latex_engine=xelatex',
'-D latex_elements.inputenc=',
Expand Down
Loading