Skip to content
Closed
Changes from 2 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: vernacularName (EnglishTranslation)
in_prod = true
html_only = false
sphinxopts = [
Expand All @@ -12,30 +13,30 @@ sphinxopts = [
name = "English"

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

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

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

[languages.it]
name = "Italian"
name = "italiano (Italian)"

[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 = "polski (Polish)"

[languages.pt_BR]
name = "Brazilian Portuguese"
name = "Português brasileiro (Brazilian Portuguese)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why this is capitalized but the previous ones aren't?

Copy link
Contributor

@rffontenelle rffontenelle Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I requested to capitalize de letter P. Even though the language names in Brazilian Portuguese are not proper names, I considered that since it is not in the middle of a sentence it would be better to have the P capitalized

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ezio-melotti I approved @rffontenelle change as he is a speaker.


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

[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