Friday, March 27, 2020

Re: Impossible d'utiliser language_code 'fr-fr' avec django 3.0.4

Test pour l'espagnole voir si ça marche alors il ya un problème (es-es)


Le ven. 27 mars 2020 à 09:16, Laurent Gattegno <laurentgattegno@gmail.com> a écrit :
Essaye juste fr ça devrait être nettement mieux
Laurent Gattegno



Tel 06 86 50 22 92 


Le ven. 27 mars 2020 à 03:47, Simon Charette <charette.s@gmail.com> a écrit :
La documentation de Django est disponible en Français.

Ce message d'erreur est traduit dans cette section: https://docs.djangoproject.com/fr/3.0/ref/checks/#translation

Tu as deux choix:
1. Ajoute 'fr-fr' à ton setting LANGUAGES tel qu'indiqué
2. Définit ton setting LANGUAGE_CODE = 'fr' plutôt que 'fr-fr'

Simon

Le jeudi 26 mars 2020 21:47:11 UTC-4, Anselme SERI a écrit :
Je suis un nouveau dans le développement python et je teste actuellement Django.
Il m'est impossible d'utiliser le language_code 'fr-fr' dans django 3.0.4.
Le message d'erreur qui s'affiche dans le terminal est le suivant :

"ERRORS:
?: (translation.E004) You have provided a value for the LANGUAGE_CODE setting that is not in the LANGUAGES setting."

J'ai fouiner sur internet à la recherche de solution sans succès.

Comment puis-je travailler avec une interface en français. Quelqu'un pourrait m'aider?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/37a930ed-f975-41c4-b567-ab710bc0a266%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHa%2B34mPnD-QAVCQhkun3o2dE%2BM-_sAx%3Dt42kwqCTr%2BA958Ajw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP_kTvTLLVBLQFg%3DymZ%2BMxLcWVNO604aFa4WObVdF7q018c2PA%40mail.gmail.com.

No comments:

Post a Comment