Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] Ri18n 0.0.3 Ruby application internationalization library
Denis Mertz
5/2/2005 9:04:00 AM
Hello,
I just released Ri18n-0.0.3
Whats ri18n ?
=============
Well, it's a library to help internationalization of Ruby applications.
Goals are similar to Ruby-GetText-Package, but implementation, dependencies
and features are different. Read on.
Features:
=========
* 100% ruby code
* Does not use, nor depend on GNU gettext
* Takes inspiration from GNU gettext, works similar
* Translation catalogs are PO files (plain text files, editable with your
favorite editor)
* Automatic plural forms support
* 'Out of the box' support for ERB files
* Uses a 'one catalog per language per application' approach, 'textdomains'
or similar are not yet implemented. There is also no 'bindtextdomain'
function. The translation catalog gets loaded only once when you set the
desired language.
Dependencies:
============
During developpement:
* Rake, for creating and updating PO files
For running your internationalized application
* A working Iconv module if you need charset encoding conversions
* none if you go the utf-8 only way (recommended, no encoding conversion
needed)
Download/install:
=================
* Gem package:
gem install ri18n
* tar or zip archive
Download them from here
http://rubyforge.org/frs/?gr...
or here
http://developer.berlios.de/project/showfiles.php?gro...
INSTALL: unpack the archive and do
($ su)
# ruby setup.rb
Documentation:
==============
Homepage:
http://ri18n....
Getting started guide:
http://ri18n....
/rdoc/files/USAGE.html
Happy internationalization
Denis
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] Ri18n 0.0.3 Ruby application internationalization library
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password