Amrita2にGettextと連動する機能を実装しました。これを利用すると、ビューを最小限の手間で国際化することができます。 サンプルとして LoginEngineをAmrita2化+日本語化していますが、たとえば、homeというビューは次のようになります。 元のrhtmlのファイルは次のようなものです。 <div title="<%= title_helper %>" class="memo"> <h3>Welcome</h3> <p>You are now logged into the system, <%= @fullname %>...</p> <p>Since you are here it's safe to assume the application never called store_location, otherwise you would have been r
![2007-07-11](https://cdn-ak-scissors.b.st-hatena.com/image/square/06a15c64ba0ceec233d86d71001ebb29a9dcbf5d/height=288;version=1;width=512/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)