From 42b35660043e678d058f0f2de3b5eb2a12b30f2d Mon Sep 17 00:00:00 2001 From: Yangshun Date: Fri, 13 Sep 2024 13:54:11 +0800 Subject: [PATCH] qns: update --- .../designing-or-developing-for-multilingual-sites/en-US.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quiz/questions/designing-or-developing-for-multilingual-sites/en-US.mdx b/packages/quiz/questions/designing-or-developing-for-multilingual-sites/en-US.mdx index 6a09e3e50..5ae1268eb 100644 --- a/packages/quiz/questions/designing-or-developing-for-multilingual-sites/en-US.mdx +++ b/packages/quiz/questions/designing-or-developing-for-multilingual-sites/en-US.mdx @@ -36,7 +36,7 @@ Languages like English and French are written from left-to-right, top-to-bottom. ## Do not concatenate translated strings -Do not do anything like `"The date today is " + date`. It will break in languages with different word order. Use a template string with parameters substitution for each language instead. For example, look at the following two sentences in English and Chinese respectively: `I will travel on {% date %}` and `{% date %} 我会出发`. Note that the position of the variable is different due to grammar rules of the language. +Do not do anything like `"The date today is " + date`. It will break in languages with different word order. Use a template string with parameters substitution for each language instead. For example, look at the following two sentences in English and Chinese respectively: `I will travel on {% date %}` and `我会在{% date %}出发`. Note that the position of the variable is different due to grammar rules of the language. ## Formatting dates and currencies