After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686090 - l10n: 'Use for' messages are splitted
l10n: 'Use for' messages are splitted
Status: RESOLVED OBSOLETE
Product: gnome-online-accounts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on: 702345
Blocks:
 
 
Reported: 2012-10-13 15:01 UTC by Ihar Hrachyshka
Modified: 2021-07-05 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ihar Hrachyshka 2012-10-13 15:01:26 UTC
From localization point of view, the following messages are disaster:

#: ../src/goabackend/goaexchangeprovider.c:846
#: ../src/goabackend/goafacebookprovider.c:361
#: ../src/goabackend/goagoogleprovider.c:535
#: ../src/goabackend/goakerberosprovider.c:1475
#: ../src/goabackend/goawindowsliveprovider.c:370
msgid "Use for"
msgstr ""

#: ../src/goabackend/goaexchangeprovider.c:848
#: ../src/goabackend/goagoogleprovider.c:537
msgid "_Mail"
msgstr ""

#: ../src/goabackend/goaexchangeprovider.c:853
#: ../src/goabackend/goagoogleprovider.c:542
msgid "Cale_ndar"
msgstr ""

#: ../src/goabackend/goaexchangeprovider.c:858
#: ../src/goabackend/goagoogleprovider.c:547
msgid "_Contacts"
msgstr ""


#: ../src/goabackend/goagoogleprovider.c:557
#: ../src/goabackend/goawindowsliveprovider.c:377
msgid "_Documents"
msgstr ""

#: ../src/goabackend/goakerberosprovider.c:1477
msgid "Network _Resources"
msgstr ""

#: ../src/goabackend/goafacebookprovider.c:363
#: ../src/goabackend/goagoogleprovider.c:552
#: ../src/goabackend/goawindowsliveprovider.c:372
msgid "C_hat"
msgstr ""

This is because the messages are split. You should not split messages, because in other languages your approach could make a problem (f.e. the order of the message parts won't be 'Use for X' but 'For X use' or anything else).

Even more importantly, in languages with rich inclination system (like in Belarusian or Russian) 'X' is translated differenty in case of 'X is used for' and 'Use for X'. So you should at least provide a clue to translators about how these second parts of the messages are expected to be used. You can either do it with translation comment or (better) with msgctxt context marker.
Comment 1 André Klapper 2012-10-13 15:25:49 UTC
For the records:
https://live.gnome.org/TranslationProject/DevGuidelines/Never%20split%20sentences

Adding keywords: I18N, L10N, string
Comment 2 Debarshi Ray 2012-10-13 18:03:16 UTC
Would it be ok for you if we added msgctxt markers, or is it absolutely necessary to fix the split messages issue?

The messages are split because we are generating a list. See https://live.gnome.org/Design/SystemSettings/OnlineAccounts

Use for: Mail
         Contacts
         Calendar
         ...
Comment 3 Ihar Hrachyshka 2012-10-14 13:12:55 UTC
For my language, msgctxt will be enough. Though I'm not sure about other languages. At least msgctxt will be better than what we have.
Comment 4 Debarshi Ray 2013-09-04 09:44:19 UTC
One of the patches in bug 707435 adds a translator comment for this, which might help to some extent. However the real solution would be not to split the strings in the first place. We can address that as part of bug 702345
Comment 5 GNOME Infrastructure Team 2021-07-05 10:58:37 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/

Thank you for your understanding and your help.