V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Jeremial
V2EX  ›  程序员

VSCode 英文命令被翻译的问题快要解决了

  •  
  •   Jeremial ·
    Wyntau · 2016-04-21 22:48:50 +08:00 · 5804 次点击
    这是一个创建于 2898 天前的主题,其中的信息可能已经有所发展或是发生改变。

    VSCode 1.0 发布后, 遇到了所有的命令都被翻译成中文的问题, 导致无法使用英文进行命令匹配. 在 Github 上找到了一些 issue, 也不断的有人提新的 issue. 最终所有关于这个问题的 issue, 都汇集到 #4679 上, 所以我也关注那个 issue, 并参与讨论其中.

    经过几天的讨论, 这个问题终于要告一段落. 详情请见 VSCode 的 github issue #4679

    大约有几个阶段.

    1. 发布阶段(被批评阶段), 所有的 command 都被翻译, 导致大家没法使用英文进行匹配
    2. 初次修改阶段, 添加了英文匹配, 但是 UI 上还是只显示了翻译后的命令, 导致大家不知道相对应的英文命令是什么, 切换输入法输入翻译后的命令就特别麻烦. 然后此 issue 被 close
    3. 大家都被上面的处理结果不满意, 所以讨论很热烈, 此 issue 被 reopen
    4. 初步达成共识阶段, 同时显示英文命令和翻译后的命令. 并且以英文命令为主, 翻译后的文字简单作为对英文命令的解释. 具体结果等待 UX team 讨论

    参与讨论后的感受, VSCode 是开源的, 而且有 Github 这样一个平台, 大家如果有什么不满意的, 就去敲开发组, 开发组还是很 nice 的, 一般大家的意见都会听.

    第 1 条附言  ·  2016-04-22 09:07:20 +08:00

    Thanks everyone for the great discussion on this topic. We appreciate all of the feedback and especially the insight on how you use the tool in both english and native languages. This was valuable input into our UX design meeting @egamma mentioned above, so I wanted to share with you the results of our conversation.

    Here is what we decided:

    • always show the english label
    • show the translated label below the english label IF the language is !== en-US
    • allow search on both english and translated labels
    • remove the keywords, the above experience makes these unnecessary We only have a small window to get this into the current iteration and given the feedback here, we think we've got the right design, so we're going to push forward with this plan.

    We expect to do another Insiders drop early next week and then ship this in the April release. From there, we can then make modifications to the experience in the next iteration (if necessary!).

    Thanks again, we think we will have a much better and much more natural experience because of your input.

    12 条回复    2016-04-22 10:35:09 +08:00
    zeroten
        1
    zeroten  
       2016-04-21 22:55:27 +08:00
    当我在打出“安装”两个字才能装插件的时候,我要疯的
    Jeremial
        2
    Jeremial  
    OP
       2016-04-21 23:00:14 +08:00
    @zeroten 后面再发新版应该就会慢慢解决这个问题.
    tairan2006
        3
    tairan2006  
       2016-04-22 00:01:49 +08:00 via Android
    直接切成英文使用了。。
    quericy
        4
    quericy  
       2016-04-22 08:53:22 +08:00
    之前用了 insider 版整个人都懵逼了,就是这个原因我一直都没升级...
    感觉开发组的效率还不错啊
    Jeremial
        5
    Jeremial  
    OP
       2016-04-22 09:07:45 +08:00
    @quericy 下个 insider 就可以试用了
    missdeer
        6
    missdeer  
       2016-04-22 09:40:57 +08:00
    用了 insider 版整个人都懵逼了 +1
    还是老老实实用正式发布版
    sablib
        7
    sablib  
       2016-04-22 09:47:56 +08:00
    添加一个 locale.json 就可以了。
    Jeremial
        8
    Jeremial  
    OP
       2016-04-22 09:50:40 +08:00
    @sablib 但是不管你什么时候切换到中文, 就会感觉很恶心. 所以还是让开发组一次改好就好了
    lissome
        9
    lissome  
       2016-04-22 09:57:17 +08:00
    就是因为这个把 locale 改回了 en_US
    hronro
        10
    hronro  
       2016-04-22 09:57:27 +08:00
    vs code 好多细节的地方,还是比不上 atom 啊
    learnshare
        11
    learnshare  
       2016-04-22 09:58:59 +08:00
    结果是不错的 :)
    BOYPT
        12
    BOYPT  
       2016-04-22 10:35:09 +08:00
    这种产品都是细节叠堆起来的,至少有两三年的积累才会大概完善。
    Atom 我也就这两个月才开始用,没算遇过大坑。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2888 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:56 · PVG 21:56 · LAX 06:56 · JFK 09:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.