Download it now!
Bug 54685 - Add non-break space between numbers and units in French
Summary: Add non-break space between numbers and units in French
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
3.5.6.2 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 111982 (view as bug list)
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2012-09-09 11:03 UTC by Milan Bouchet-Valat
Modified: 2018-10-24 20:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Bouchet-Valat 2012-09-09 11:03:03 UTC
Bug 41015 added non-break spaces before percent signs in French. This is great, but I noticed it would be useful to insert it in more cases: we need non-break spaces between numbers and units (currency signs and unit abbreviations).

For currency signs, they can be detected from the Unicode spec. A list is available at http://unicode.org/charts/PDF/U20A0.pdf. For example, in libICU, the type U_CURRENCY_SYMBOL identifies them.

For unit abbreviations, Wikipedia has a quite complete list for French at http://fr.wiktionary.org/wiki/Annexe:Unit%C3%A9s_de_mesure_en_fran%C3%A7ais
We may also include only the handful of most common units, if that's easier and less error-prone.
Comment 1 Roman Eisele 2012-09-25 15:16:13 UTC
Definitely an enhancement request → changed Importance field.

Valid, therefore set Status to NEW.

NB that at least part of this request does not only apply to French, but also to other languages; e.g., in German it would be nice to have a NBSP in "EUR 13,42", "17 cm" or "5,2 m" etc. automatically.

But IMHO this new feature, if added, must be
* optional
* configurable
because you can not force all users to have the same personal style here, not even when distinguishing by languages.
Comment 2 Milan Bouchet-Valat 2012-09-27 16:55:13 UTC
Sure, this kind of language-specific feature/option already exists in AutoCorrection, e.g. for smart quotes or non-break space before %, ?, ; and ! in French.
Comment 3 Thomas Lendo 2018-09-02 20:29:52 UTC
*** Bug 111982 has been marked as a duplicate of this bug. ***