Giter Site home page Giter Site logo

rocketlyz / vscode-vue-i18n Goto Github PK

View Code? Open in Web Editor NEW

This project forked from think2011/vscode-vue-i18n

0.0 1.0 0.0 6.49 MB

🔖 这个插件能够帮到你方便浏览和编写 Vue i18n

Home Page: https://marketplace.visualstudio.com/items?itemName=think2011.vue-i18n

TypeScript 42.81% HTML 57.19%

vscode-vue-i18n's Introduction

logo

vscode-vue-i18n

Visual Studio Marketplace Version Visual Studio Marketplace Downloads Visual Studio Marketplace Installs

为什么要做这个插件?因为写 i18n 真的很啰嗦很麻烦啊 😫

这个插件能够帮到你方便查看和编写 vue-i18n 🎉

⚡ 主要功能

提取并自动翻译文案 (快捷键 ⌘+.)

直观的看到对应的翻译文案

通过翻译中心管理翻译

🦉 如何使用?

1. 首先你的目录应该是类似这样的结构

  locales
  ├── en.json
  ├── zh-CN.json
  ├── zh-TW.json
  ├── ...
  └── <contry-code>.json

或者

  locales
  ├── en
  |   ├── common.json
  |   ├── buttons.json
  |   ├── ...
  |   └── <filenames>.json
  ├── zh-CN
  |   ├── common.json
  |   ├── buttons.json
  |   └── ...
  └── <contry-code>
      ├── common.json
      ├── buttons.json
      └── ...

2. 那么安装好插件后就会自动识别目录了

如果不是的话,那请执行如图的命令吧 😝

📆 功能列表

  • 翻译提示
  • 翻译注释
  • 翻译中心
  • 删除多个语言
  • google、youdao、baidu 在线翻译
  • 字段补全
  • 自动配置翻译目录
  • 手动配置翻译目录
  • 可指定翻译源语言
  • 重复、覆盖检测
  • YAML 支持

QA

怎么安装?

vscode 插件里搜索 vue-i18n,或者点击上上方的小徽章安装吧!

怎么不开 Issues?

估计很长一段时间里都比较忙,而且懒,如果你遇到了实在难以解决的问题或者非要提需求 吐槽,那你给我发封邮件吧 [email protected],要是可以贡献 PR 那真的太棒了 🙂

👏 特别感谢

谢谢你帮忙完善了插件

✨ 同时也推荐功能更为强大的 vue-i18n-ally@antfu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.