Skip to content

Add vernacular names of languages #244

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

Closed
wants to merge 4 commits into from
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
Contributor 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