惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Vercel News
Vercel News
F
Fortinet All Blogs
B
Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
月光博客
月光博客

Secret Weblog

Becoming More Xee: A Modern XPath and XSLT Engine in Rust Looking for new challenges! Repeat Yourself, A Bit The Curious Case of Quentell The Humble For Loop in Rust The Humble For Loop in JavaScript Don Question Best Practices I Was a 1980s Teenage Programmer Part 5: Achieving Assembly I Was a 1980s Teenage Programmer Part 4: The Call of Assembly The Tooling Shift I Was a 1980s Teenage Programmer Part 3: MSX-2 JavaScript: when you need two ways to do it! Empowering Programming Languages Bloat and Retrofuturism Refreshing my Blog Again Random Rust Impressions Apilar: An Alife System I Was a 1980s Teenage Programmer Part 2: Olivetti M24 I Was a 1980s Teenage Programmer: the Alphatronic SolidJS fits my brain Is premature optimization the root of all evil? Framework Patterns: JavaScript edition Roll Your Own Frameworks Framework Patterns Secret Weblog Highlights Refactoring to Multiple Exit Points mstform: a form library for mobx-state-tree Seven Years: A Very Personal History of the Web
Five-based i18n in Silva checked in (PTS Delenda Est)
Martijn Faassen · 2005-12-02 · via Secret Weblog

Last summer the Five project pulled Zope 3's i18n architecture into the Zope 2 world, thanks to work done by Philipp von Weitershausen, Lennart Regebro and others (please forgive me if I forget someone!).

And yesterday, Philipp posted a useful article on his site describing how to use it.

He probably didn't expect that Silva was going to switch over to this codebase the next day! I ran into yet another unicode error in Silva today when I was hacking on it. It was the last straw. PlacelessTranslationService's wild hackery had been screwing up Silva's unicode support up long enough... Like Carthago of old to the ancient Romans, PlacelessTranslationService Delenda Est: it must be destroyed.

Thanks to the great work done by the Zope 3 developers, the Five developers, and the nice article Philipp wrote about it, a few hours later PlacelessTranslationService had been purged from Silva. Lots of custom cruft has been removed from Silva, and removing code while retaining functionality is always good.

This is part of a general trend in the Zope world; people are throwing away their custom code and can start to rely on cleaner solutions developed lower down the framework. This allows for smooth evolution and convergence between frameworks. It increases the size of communities using the same codebase, which makes it more likely people will work on it to improve it. I believe that the Zope community, with Five and other efforts, is only beginning to tap into the full potential of this pattern.