locale: add all supported languages by django as an available option

This commit is contained in:
Herculino Trotta
2025-04-13 00:58:57 -03:00
parent 7b76c10093
commit 3463c7c62c
3 changed files with 120 additions and 0 deletions

View File

@@ -132,3 +132,10 @@ class UserSettingsForm(forms.ModelForm):
),
),
)
self.fields["language"].help_text = _(
"This changes the language (if available) and how numbers and dates are displayed\n"
"Consider helping translate WYGIWYH to your language at %(translation_link)s"
) % {
"translation_link": '<a href="https://translations.herculino.com" target="_blank">translations.herculino.com</a>'
}