server icon indicating copy to clipboard operation
server copied to clipboard

Improve typography

Open kra-mo opened this issue 5 months ago • 2 comments

We should improve our typography across Nextcloud’s base localization in the following ways:

  • Spaces before ellipses in strings that contain them should be removed. This is nonstandard. (We should also make sure all ellipses use the correct character, U+2026.)
  • U+0027 should be replaced with U+2019 as it is generally preferred in modern digital typography.
  • U+0022 should be replaced with U+201C and U+201D for opening and closing quotes respectively.

Most of this is an easy enough find-and-replace job, it would just result in a huge diff across multiple repos.

We should also set guidelines for this. We refer to the GNOME HIG already, which recommends using these, but mentioning them explicitly as well as sending an update to app developers would be nice.

cc @jancborchardt

kra-mo avatar Jun 13 '25 13:06 kra-mo

We have guidelines for this. Currently they just point to what is being done everywhere: https://docs.nextcloud.com/server/latest/developer_manual/basics/translations.html#dos-and-don-ts

nickvergessen avatar Jun 16 '25 06:06 nickvergessen

cc @rakekniven for reference

nickvergessen avatar Jun 16 '25 06:06 nickvergessen

Spaces before ellipses in strings that contain them should be removed. This is nonstandard.

Where do you take this from? Our base language is American English there exist many language guides for it, the one probably matches our guides the most is the AP (Associated Press) style which requires a non-breaking space before the ellipsis symbol. This is also what we try enforce.

We should also make sure all ellipses use the correct character, U+2026.

We already enforce that symbol (in the original strings - for the translated strings the translators need to ensure it is used correctly).

susnux avatar Jun 17 '25 13:06 susnux

Our base language is American English there exist many language guides for it, the one probably matches our guides the most is the AP (Associated Press) style which requires a non-breaking space before the ellipsis symbol.

I have never seen this in user interface text before, the convention there is to omit them. UI copy style guides also mention this, but do correct me if I'm wrong.

kra-mo avatar Jun 17 '25 13:06 kra-mo