diff --git a/localization.html b/localization.html index 18aa9b8..5b304d6 100644 --- a/localization.html +++ b/localization.html @@ -140,7 +140,7 @@
Substitutions use the MessageFormat class. Mostly it's enough to just stick close to the template.
-Important: Any single quote ('
) in a string that contains a replacement needs to be escaped with a single quote (e.g. Can''t join ''{0}''
).
Important: Any single quote ( This does not seem to be the case anymore. Quotes are automatically escaped on export by POEditor, so they should not be escaped anymore.'
) in a string that contains a replacement needs to be escaped with a single quote (e.g. Can''t join ''{0}''
).
The more advanced {0,choice,<choices>}
pattern is used to decide between two strings depending on the value in the number 0
parameter. This is commonly used to decide between a singular and plural form.