summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnnabelle Wiegart <44520920+annalauraw@users.noreply.github.com>2025-10-23 16:11:52 +0200
committerJacob Walls <jacobtylerwalls@gmail.com>2025-10-23 10:13:28 -0400
commitf647d864c2a39559be6e687e0f41b6762c9aebc8 (patch)
treee048ba07b696b19d0ae3e19226ac895d58326950 /docs
parenta956e39b38e48ea2f6f6e763461bceaf0adba2a5 (diff)
[6.0.x] Fixed #35095 -- Clarified Swiss number formatting in docs/topics/i18n/formatting.txt.
Co-authored-by: Ahmed Nassar <a.moh.nassar00@gmail.com> Backport of 74239181252ca73bebb84789856f5d8937d421b4 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/formatting.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt
index c670f02b25..ed941a20e0 100644
--- a/docs/topics/i18n/formatting.txt
+++ b/docs/topics/i18n/formatting.txt
@@ -189,12 +189,13 @@ Limitations of the provided locale formats
Some locales use context-sensitive formats for numbers, which Django's
localization system cannot handle automatically.
-Switzerland (German)
---------------------
+Switzerland (German, French)
+----------------------------
-The Swiss number formatting depends on the type of number that is being
-formatted. For monetary values, a comma is used as the thousand separator and
-a decimal point for the decimal separator. For all other numbers, a comma is
-used as decimal separator and a space as thousand separator. The locale format
-provided by Django uses the generic separators, a comma for decimal and a space
-for thousand separators.
+The Swiss number formatting traditionally varies depending on context. For
+example, monetary values may use a dot as decimal separator (``Fr. 23.50``),
+while measurements often use a comma (``22,5 m``). Django’s localization system
+does not support such context-specific variations automatically.
+
+The locale format provided by Django uses the generic separators, a comma for
+decimal and a space for thousand separators.