推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Melodic
V2EX  ›  Python

Flask-babel 不翻译...求解答

  •  
  •   Melodic · Jan 23, 2015 · 3050 views
    This topic created in 4267 days ago, the information mentioned may be changed or developed.

    完全按照文档配置。

    Stackoverflow问题链接

    2 replies  •  2015-02-26 00:01:20 +08:00
    Melodic
        1
    Melodic  
    OP
       Jan 30, 2015
    好吧,不知道为什么Babal的localeselector不识别`zh_Cn`,要return一`zh`才生效,明明locale -a有zh_CN啊。
    Melodic
        2
    Melodic  
    OP
       Feb 26, 2015
    好吧,zh_Hans也是可以的,而且新版本只认这个,但是和flask-admin的筛选器仍然有冲突
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5030 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
    ♥ Do have faith in what you're doing.