mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 21:05:16 +00:00
docs: add available locales section (#3331)
* docs: add available locales section * dev
This commit is contained in:
parent
88c507ce46
commit
3b53bedb11
1 changed files with 55 additions and 1 deletions
56
readme.md
56
readme.md
|
|
@ -294,7 +294,7 @@ You can customize the appearance of all your cards however you wish with URL par
|
||||||
* `hide_border` - Hides the card's border *(boolean)*. Default: `false`
|
* `hide_border` - Hides the card's border *(boolean)*. Default: `false`
|
||||||
* `theme` - Name of the theme, choose from [all available themes](./themes/README.md). Default: `default` theme.
|
* `theme` - Name of the theme, choose from [all available themes](./themes/README.md). Default: `default` theme.
|
||||||
* `cache_seconds` - Sets the cache header manually *(min: 21600, max: 86400)*. Default: `21600 seconds (6 hours)`.
|
* `cache_seconds` - Sets the cache header manually *(min: 21600, max: 86400)*. Default: `21600 seconds (6 hours)`.
|
||||||
* `locale` - Sets the language in the card *(e.g. cn, de, es, etc.)*. Default: `en`.
|
* `locale` - Sets the language in the card, you can check full list of available locales [here](#available-locales). Default: `en`.
|
||||||
* `border_radius` - Corner rounding on the card. Default: `4.5`.
|
* `border_radius` - Corner rounding on the card. Default: `4.5`.
|
||||||
|
|
||||||
> [!WARNING]\
|
> [!WARNING]\
|
||||||
|
|
@ -306,6 +306,60 @@ You can provide multiple comma-separated values in the bg\_color option to rende
|
||||||
|
|
||||||
&bg_color=DEG,COLOR1,COLOR2,COLOR3...COLOR10
|
&bg_color=DEG,COLOR1,COLOR2,COLOR3...COLOR10
|
||||||
|
|
||||||
|
##### Available locales
|
||||||
|
|
||||||
|
Here is a list of all available locales:
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr><td>
|
||||||
|
|
||||||
|
| Code | Locale |
|
||||||
|
| --- | --- |
|
||||||
|
| `cn` | Chinese |
|
||||||
|
| `zh-tw` | Chinese (Taiwan) |
|
||||||
|
| `ar` | Arabic |
|
||||||
|
| `cs` | Czech |
|
||||||
|
| `de` | German |
|
||||||
|
| `en` | English |
|
||||||
|
| `bn` | Bengali |
|
||||||
|
| `es` | Spanish |
|
||||||
|
| `fr` | French |
|
||||||
|
| `hu` | Hungarian |
|
||||||
|
|
||||||
|
</td><td>
|
||||||
|
|
||||||
|
| Code | Locale |
|
||||||
|
| --- | --- |
|
||||||
|
| `it` | Italian |
|
||||||
|
| `ja` | Japanese |
|
||||||
|
| `kr` | Korean |
|
||||||
|
| `nl` | Dutch |
|
||||||
|
| `pt-pt` | Portuguese (Portugal) |
|
||||||
|
| `pt-br` | Portuguese (Brazil) |
|
||||||
|
| `np` | Nepali |
|
||||||
|
| `el` | Greek |
|
||||||
|
| `ru` | Russian |
|
||||||
|
| `uk-ua` | Ukrainian |
|
||||||
|
|
||||||
|
</td><td>
|
||||||
|
|
||||||
|
| Code | Locale |
|
||||||
|
| --- | --- |
|
||||||
|
| `id` | Indonesian |
|
||||||
|
| `ml` | Malayalam |
|
||||||
|
| `my` | Burmese |
|
||||||
|
| `sk` | Slovak |
|
||||||
|
| `tr` | Turkish |
|
||||||
|
| `pl` | Polish |
|
||||||
|
| `uz` | Uzbek |
|
||||||
|
| `vi` | Vietnamese |
|
||||||
|
| `se` | Swedish |
|
||||||
|
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
If we don't support your language, please consider contributing!
|
||||||
|
|
||||||
#### Stats Card Exclusive Options
|
#### Stats Card Exclusive Options
|
||||||
|
|
||||||
* `hide` - Hides the [specified items](#hiding-individual-stats) from stats *(Comma-separated values)*. Default: `[] (blank array)`.
|
* `hide` - Hides the [specified items](#hiding-individual-stats) from stats *(Comma-separated values)*. Default: `[] (blank array)`.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue