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

Pain Points: CLI #29

Open
martinheidegger opened this issue Mar 15, 2016 · 8 comments
Open

Pain Points: CLI #29

martinheidegger opened this issue Mar 15, 2016 · 8 comments

Comments

@martinheidegger
Copy link

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)
@srl295
Copy link
Member

srl295 commented Mar 15, 2016

  • Double Width- Unicode East Asian Width property distinguishes a vs etc. Also affected by combining.

@watilde
Copy link
Member

watilde commented Mar 15, 2016

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

@martinheidegger
Copy link
Author

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

@watilde
Copy link
Member

watilde commented Mar 15, 2016

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

@sam-github
Copy link

@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.

@martinheidegger
Copy link
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' ]

@sam-github
Copy link

@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.

@watilde
Copy link
Member

watilde commented Apr 25, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants