web-infra-dev / modern.js

Modern.js is a web engineering system, including a web framework and a npm package solution.
https://modernjs.dev/en/
MIT License
4.4k stars 367 forks source link

[Bug]: Missing I18n plugin #5847

Closed roonie007 closed 3 months ago

roonie007 commented 3 months ago

Version

System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600K
    Memory: 17.58 GB / 27.30 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  npmPackages:
    @modern-js/app-tools: 2.53.0 => 2.53.0 
    @modern-js/eslint-config: 2.53.0 => 2.53.0 
    @modern-js/plugin-bff: 2.53.0 => 2.53.0 
    @modern-js/plugin-express: 2.53.0 => 2.53.0 
    @modern-js/plugin-tailwindcss: 2.53.0 => 2.53.0 
    @modern-js/runtime: 2.53.0 => 2.53.0 
    @modern-js/tsconfig: 2.53.0 => 2.53.0

Details

Missing i18n plugin in the modern new -> Enable Features

Also it looks like the modernjs documentation is missing the i18n plugin documentation section.

Reproduce link

No demo needed

Reproduce Steps

Simply start any modern project and try to add a plugin using the modern new

caohuilin commented 3 months ago

What kind of ability do you need for i18n? Currently, the i18n plugin in Modern.js is only used internally.

roonie007 commented 3 months ago

Well instead of installing a bunch of modules and setting up an i18n library, using your plugin would be a lot easier, and actually I am using it, and it works perfectly.

I installed it without using the CLI.