
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
globalization-loader
Advanced tools
国际化 编译打包,直接中文开发,不用考虑国际化的任何方案 打包 自动提取 中文段落,你只需在谷歌翻译上翻译对应的中文然后保存文件即可。重新打包就ok了
国际化 编译打包,直接中文开发,不用考虑国际化的任何方案 打包 自动提取 中文段落,你只需在谷歌翻译上翻译对应的中文然后保存文件即可。重新打包就ok了
To begin, you'll need to install globalization-loader:
npm install --save-dev globalization-loader
Then add the plugin to your webpack config. For example:
webpack.config.js
module.exports = {
module: {
rules: [
{ test: /\.js/, use: 'globalization-loader',include: [ path.resolve('./', "src") ] },
],
},
};
npm run build
会在根目录生成一个.globalization的文件
然后去把这个文件交给谷歌翻译机翻译,把翻译的文件保存在和.globalization相同的目录 名字为 .globalization-en
然后再次build 就会打包成英文项目
v1.0.0 当前版本
后续更新
FAQs
国际化 编译打包,直接中文开发,不用考虑国际化的任何方案 打包 自动提取 中文段落,你只需在谷歌翻译上翻译对应的中文然后保存文件即可。重新打包就ok了
We found that globalization-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.