Skip to content

Commit 4a2f02b

Browse files
AutoPING-TUIMrSerth
andauthored
Update docs/multilang.md to make config link stable
Co-authored-by: Sebastian Serth <[email protected]>
1 parent 5e6584f commit 4a2f02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/multilang.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ This approach also applies to the description of tips, including their example s
2929

3030
## Supported Locales
3131

32-
At the time of writing CodeOcean supports the `DE` and `EN` locales. Accordingly, the two CSS snippets [multilang_de.css](../app/javascript/multilang_de.css) and [multilang_en.css](../app/javascript/multilang_en.css) have been added to the application. To support other locales, just copy and paste one of these snippets and change the locale in the CSS rule. To really take effect, the appropriate locale must be added to CodeOcean (see [Config --> Locales](../config/locales/) for details) and also requires a change to Rails.application.config.i18n.available_locales: https://github.com/openHPI/codeocean/blob/main/config/application.rb#L37.
32+
At the time of writing CodeOcean supports the `DE` and `EN` locales. Accordingly, the two CSS snippets [`multilang_de.css`](../app/javascript/multilang_de.css) and [`multilang_en.css`](../app/javascript/multilang_en.css) have been added to the application. To support other locales, just copy and paste one of these snippets and change the locale in the CSS rule. To really take effect, the appropriate locale must be added to CodeOcean (see [Config --> Locales](../config/locales/) for details) and also requires a change to `Rails.application.config.i18n.available_locales` in [`config/application.rb`](../config/application.rb).

0 commit comments

Comments
 (0)