Coder Social home page Coder Social logo

Comments (4)

oorzc avatar oorzc commented on June 12, 2024

图像

代码转换后再次运行出现error 。转换部分为 vue sfc 里的jsx部分

你好,这个版本目前支持vue2,可能还存在一些其他问题。后续有时间,我再用ast重构,让他支持v2、v3、react,目前暂不修复了

from i18n-tools.

SilverComet7 avatar SilverComet7 commented on June 12, 2024

图像
代码转换后再次运行出现error 。转换部分为 vue sfc 里的jsx部分

你好,这个版本目前支持vue2,可能还存在一些其他问题。后续有时间,我再用ast重构,让他支持v2、v3、react,目前暂不修复了

大佬你好,这个仓库目前是只有readme吗? 可否开放插件的源代码共同学习一下,已经写了node脚本来提取中文,想看一下重新替换回进去的实现和整体的实现思路

from i18n-tools.

oorzc avatar oorzc commented on June 12, 2024

图像
代码转换后再次运行出现error 。转换部分为 vue sfc 里的jsx部分

你好,这个版本目前支持vue2,可能还存在一些其他问题。后续有时间,我再用ast重构,让他支持v2、v3、react,目前暂不修复了

大佬你好,这个仓库目前是只有readme吗? 可否开放插件的源代码共同学习一下,已经写了node脚本来提取中文,想看一下重新替换回进去的实现和整体的实现思路

我是用正则替换的问题有点多,后期我准备参考这个改造

https://github.com/IFreeOvO/i18n-cli
你直接参考这个就行,写的还不错

from i18n-tools.

SilverComet7 avatar SilverComet7 commented on June 12, 2024

图像
代码转换后再次运行出现error 。转换部分为 vue sfc 里的jsx部分

你好,这个版本目前支持vue2,可能还存在一些其他问题。后续有时间,我再用ast重构,让他支持v2、v3、react,目前暂不修复了

大佬你好,这个仓库目前是只有readme吗? 可否开放插件的源代码共同学习一下,已经写了node脚本来提取中文,想看一下重新替换回进去的实现和整体的实现思路

我是用正则替换的问题有点多,后期我准备参考这个改造

https://github.com/IFreeOvO/i18n-cli
你直接参考这个就行,写的还不错

感谢大佬指路。 目前写的node脚本里面也是正则思路实现提取中文的。 ast也是另一个不错的思路。

from i18n-tools.

Related Issues (3)

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.