Skip to content

Commit 3d36900

Browse files
mmckyCopilot
andauthored
Update internationalization documentation (#157)
* Update internationalization documentation - Updated language count from 10 to 30 languages - Added complete table of all supported languages with their codes - Listed all 15 directive types with complete translation coverage - Removed outdated 'Work in progress' note - Added usage example for setting language in conf.py - Clarified that English is the default language if not specified - Organized languages in alphabetical order in a two-column table All 30 languages now have complete translations for all 15 directive types: Algorithm, Assumption, Axiom, Conjecture, Corollary, Criterion, Definition, Example, Lemma, Notation, Observation, Property, Proposition, Remark, Theorem Supported languages: Arabic, Bulgarian, Chinese, Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese * Update internationalization docs to reflect 33 languages * Update docs/source/internationalization.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 7459987 commit 3d36900

File tree

1 file changed

+35
-15
lines changed

1 file changed

+35
-15
lines changed
Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,38 @@
11
# Internationalization
22

3-
This package supports the following languages specified in `conf.py` using the `language` option:
4-
5-
- ar
6-
- cs
7-
- de
8-
- es
9-
- fr
10-
- it
11-
- ja
12-
- nl
13-
- ru
14-
- zh_CN
15-
16-
```{note} Work in progress
17-
Not all languages listed above are support across all admonition types
3+
This package supports **33 languages** for all proof directive types. Translations are specified in `conf.py` using the `language` option.
4+
5+
## Supported Languages
6+
7+
All 15 directive types (Algorithm, Assumption, Axiom, Conjecture, Corollary, Criterion, Definition, Example, Lemma, Notation, Observation, Property, Proposition, Remark, Theorem) have complete translations in the following languages:
8+
9+
| Language | Code | Language | Code |
10+
|----------|------|----------|------|
11+
| Arabic | `ar` | Bengali | `bn` |
12+
| Bulgarian | `bg` | Chinese | `zh_CN` |
13+
| Czech | `cs` | Danish | `da` |
14+
| Dutch | `nl` | Finnish | `fi` |
15+
| French | `fr` | German | `de` |
16+
| Greek | `el` | Hebrew | `he` |
17+
| Hindi | `hi` | Hungarian | `hu` |
18+
| Indonesian | `id` | Italian | `it` |
19+
| Japanese | `ja` | Korean | `ko` |
20+
| Malay | `ms` | Norwegian | `no` |
21+
| Persian | `fa` | Polish | `pl` |
22+
| Portuguese | `pt` | Romanian | `ro` |
23+
| Russian | `ru` | Spanish | `es` |
24+
| Swedish | `sv` | Thai | `th` |
25+
| Turkish | `tr` | Ukrainian | `uk` |
26+
| Urdu | `ur` | Vietnamese | `vi` |
27+
28+
## Usage
29+
30+
To use a specific language, set the `language` option in your Sphinx `conf.py`:
31+
32+
```python
33+
language = 'es' # For Spanish
1834
```
35+
36+
If no language is specified, **English** (`en`) is used as the default.
37+
38+
All proof directives will automatically use the appropriate translations for the selected language.

0 commit comments

Comments
 (0)