Skip to content

Commit 4820fca

Browse files
authored
Refer to repo for locale list (#1819)
1 parent 42184ef commit 4820fca

File tree

1 file changed

+7
-71
lines changed

1 file changed

+7
-71
lines changed

content/en/admin/config.md

Lines changed: 7 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -111,77 +111,13 @@ As of Mastodon 4.4.0, this environment variable does not override the visitor's
111111

112112
Example value: `de`
113113

114-
Supported languages:
115-
116-
- `ar`
117-
- `ast`
118-
- `bg`
119-
- `bn`
120-
- `br`
121-
- `ca`
122-
- `co`
123-
- `cs`
124-
- `cy`
125-
- `da`
126-
- `de`
127-
- `el`
128-
- `en`
129-
- `eo`
130-
- `es`
131-
- `es-AR`
132-
- `et`
133-
- `eu`
134-
- `fa`
135-
- `fi`
136-
- `fr`
137-
- `ga`
138-
- `gl`
139-
- `he`
140-
- `hi`
141-
- `hr`
142-
- `hu`
143-
- `hy`
144-
- `id`
145-
- `io`
146-
- `is`
147-
- `it`
148-
- `ja`
149-
- `ka`
150-
- `kab`
151-
- `kk`
152-
- `kn`
153-
- `ko`
154-
- `lt`
155-
- `lv`
156-
- `mk`
157-
- `ml`
158-
- `mr`
159-
- `ms`
160-
- `nl`
161-
- `nn`
162-
- `no`
163-
- `oc`
164-
- `pl`
165-
- `pt-BR`
166-
- `pt-PT`
167-
- `ro`
168-
- `ru`
169-
- `sk`
170-
- `sl`
171-
- `sq`
172-
- `sr`
173-
- `sr-Latn`
174-
- `sv`
175-
- `ta`
176-
- `te`
177-
- `th`
178-
- `tr`
179-
- `uk`
180-
- `ur`
181-
- `vi`
182-
- `zh-CN`
183-
- `zh-HK`
184-
- `zh-TW`
114+
The [list of supported languages](https://github.com/mastodon/mastodon/blob/main/config/initializers/i18n.rb) sometimes changes between versions, so make sure the version you are running supports the locale you want to use.
115+
116+
To see the full list of locales supported, run:
117+
118+
```bash
119+
bin/rails runner 'puts Rails.application.config.i18n.available_locales.sort'
120+
```
185121

186122
#### `FORCE_DEFAULT_LOCALE`
187123

0 commit comments

Comments
 (0)