Skip to content
Snippets Groups Projects
Commit 86845553 authored by dominip89's avatar dominip89 Committed by borzechof99
Browse files

Remove bracket

parent 3f83191c
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ If you seeded the database you can login with username: "admin" and the password ...@@ -88,7 +88,7 @@ If you seeded the database you can login with username: "admin" and the password
## Internationalization and how to use it ## Internationalization and how to use it
At the current time, the backend uses [django-modeltranslation])(https://django-modeltranslation.readthedocs.io/en/latest/index.html) to handle translations of Strings in the models Question, CallToMove, KnowledgeSnack. The list of available languages is defined in `settings.py`, and the translatable fields are defined in `translation.py`. Right now, the two languages `de` and `en` are enabled, with `de` translations needing to be filled out. At the current time, the backend uses [django-modeltranslation](https://django-modeltranslation.readthedocs.io/en/latest/index.html) to handle translations of Strings in the models Question, CallToMove, KnowledgeSnack. The list of available languages is defined in `settings.py`, and the translatable fields are defined in `translation.py`. Right now, the two languages `de` and `en` are enabled, with `de` translations needing to be filled out.
Django internally keeps track of the active language, which decides on the language strings that `object.text` returns. If you want to force a certain language, `object.text_de` can be used. Django internally keeps track of the active language, which decides on the language strings that `object.text` returns. If you want to force a certain language, `object.text_de` can be used.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment