Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Pain Points: CLI #29

Description

@martinheidegger

Collection of pain points when internationalising a nodejs CLI tool:

  • IME input can interfere with user input
  • Double width characters break ASCII layouting
  • Lack of standardized negotiation system (with language store)

Activity

  1. srl295 commented on Mar 15, 2016

    @srl295
    Member
    • Double Width- Unicode East Asian Width property distinguishes a vs a etc. Also affected by combining.
  2. watilde commented on Mar 15, 2016

    @watilde
    Member

    Double Width -Currently there is no way to get the width of the East Asian Width in Node.js. In npm, it is fixed by using option. npm/npm#11781

  3. martinheidegger commented on Mar 15, 2016

    @martinheidegger
    Author

    I havn't tried it out yet but I think that the man-files also are not translated?!

  4. watilde commented on Mar 15, 2016

    @watilde
    Member

    @martinheidegger ahh that may be true. Let me take a look into it.

  5. sam-github commented on Mar 15, 2016

    @sam-github

    @martinheidegger I've never seen that man feature of npm used, most devs on windows and OS X don't use man pages or even know what they are. It looks to me like you could include man pages for all the language sections in the package.json, though. They would all get installed, of course.

  6. martinheidegger commented on Mar 15, 2016

    @martinheidegger
    Author

    @sam-github It is prominently used by npm.

    $ npm show npm man

    [ '/Users/rebecca/code/release/npm-3/man/man1/npm-access.1',
      '/Users/rebecca/code/release/npm-3/man/man1/npm-adduser.1',
      ...
      '/Users/rebecca/code/release/npm-3/man/man7/removing-npm.7',
      '/Users/rebecca/code/release/npm-3/man/man7/semver.7' ]
  7. sam-github commented on Apr 25, 2016

    @sam-github

    @martinheidegger Used by npm, sure, but used by users of npm? I very much doubt that many people know that man npm-ls is a non-portable alternative to the portable npm help ls, with identical text.

  8. watilde commented on Apr 25, 2016

    @watilde
    Member

    I started to implement i18n in npm on npm/npm#12298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions