V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
LLaMA
V2EX  ›  Angular

Angular 写的网站最快实现 I18n 的方法是什么,只要能切换中英文就行,不需要支持其它语言

  •  
  •   LLaMA · Apr 3, 2023 · 5325 views
    This topic created in 1133 days ago, the information mentioned may be changed or developed.
    5 replies    2023-05-27 18:11:35 +08:00
    eyelly
        1
    eyelly  
       Apr 3, 2023
    可以试试 https://www.npmjs.com/package/i18n-pro ,纯 js 库,不限制框架
    hedwi
        2
    hedwi  
       Apr 4, 2023
    angular 自带多语言支持啊
    Solael
        4
    Solael  
       Apr 29, 2023
    @nzbin +1 感觉主流库就这两个了
    chnwillliu
        5
    chnwillliu  
       May 27, 2023 via Android
    $localize 也支持运行时加载 translation 的啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 09:49 · PVG 17:49 · LAX 02:49 · JFK 05:49
    ♥ Do have faith in what you're doing.