From 86845553c0bed2dc58b32134e342f4135141aa9f Mon Sep 17 00:00:00 2001 From: dominip89 <dominip89@mi.fu-berlin.de> Date: Sat, 19 Jun 2021 09:52:21 +0000 Subject: [PATCH] Remove bracket --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a515e4..fa9b543 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ If you seeded the database you can login with username: "admin" and the password ## 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. -- GitLab