Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#58687 - Ukrainian Y/n translation considered harmful

Attached to Project: Pacman
Opened by Svitozar Cherepii (chpii) - Monday, 21 May 2018, 21:54 GMT
Task Type Bug Report
Category i18n & l10n
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


Summary and Info:

Hi Allan and fellow developers, My name is Svito, I'm also (somewhat recent) maintainer on the wiki, though I've been using Arch Linux since 2012 and adopted its principles ever since.

Some translators decided it would be fun to translate [Y/n] questions to Ukrainian, just so everything is in native language.
They did so using Cyrillic alphabet. Unless you are using [unsupported stuff] or not use Ukrainian (why translate it then?), you would need to type pacman -S package with Latin layout, but then you are presented with questions that are Cyrillic letters. Then after transaction is complete you are back again in your shell, where you would use Latin to type other commands. This means you need to switch keyboard layout each time you are presented with [Y/n] question by pacman and then switch back again to Latin.

This is extremely annoying, distracting and uncalled for (even when you get used to it after few months).

To add to the confusion Yes=Так are No=Ні when translated, which means Ukrainian "yes" answer is same key as US "no" answer and same goes for Ukrainian "no" being same key as US "yes".

I left a comment and added following suggestions to other affected lines, that I consider reasonable:

- Use Ukrainian (translated) answers, but using Latin alphabet with common technique called transliteration to Latin:

This would mean answers are still in Ukrainian, but possible to type without changing layout back-and-forth:

Yes=Tak No=Ni, which also has a benefit of No being same letter and Yes being one physical key to the left of US layout

Other solution is to not translate [T/n] question/answers at all. Either one would be fine with me.

Steps to Reproduce:
- Standard US layout (Qwerty)
- Standard Ukrainian layout (Qwerty)
- LANG=uk_UA.UTF-8
- TTY or VTE

I can maintain my own patch for as long as this a problem, but sincerely hope not to.
This task depends upon

2018-09-10: A task closure has been requested. Reason for request: INCOMPLETE: I should work on proper patch, possibly pacman using LC_MESSAGES like other(mostly GNU) software
Comment by Svitozar Cherepii (chpii) - Sunday, 01 July 2018, 00:03 GMT
Newer patch with standard Y/n strings.