[ANN] RTrans 1.0

RTrans is a library for internationalizing applications written in Ruby,
much they way gettext does, but gettext is written in C and the
translation files require compilation before they can be loaded into the
application.

RTrans on the other hand is 100% pure ruby, reads translation strings
directly from text, updates them when unknown strings are issued, and
automaticly reloads them if the translation file was changed.

RTrans can be downloaded from:

http://idanso.dyndns.org/radical/Download

From the README file:

···

=====================

RTrans is a pure ruby library for internationalizing(I8N) applications, it
uses pure text(unlike gettext), and the I8N can be updated on-the-fly.

The library code was extraced from the Radical application server, as I
believe it is useful in other Ruby applications as well:

http://idanso.dyndns.org/radical/

The code is copyrighted by Idan Sofer idan@idanso.dyndns.org, and licenced
under the terms of the GPL V2.

an example application:

$lang="en"
require 'translate’
Intl=Radical::Translations::TranslationLoader.new ‘./intl’

def intl(str)
Intl[$lang,“MyApp”][str]
end

puts intl ‘Hello World. How are you doing?’

“Idan Sofer” idan@idanso.dyndns.org wrote in message
news:3DEDEFD3.4060908@idanso.dyndns.org

RTrans can be downloaded from:

http://idanso.dyndns.org/radical/Download

I noticed Radical before - but it is poorly documented. There is so much
software around to look at, so you need to provide better documentation and
examples if you want people to use it.

Software is like fire - it needs 3 components.
fire needs: oxygen, material, heat.
software needs three intellectual components: source code, test,
documentation.

Mikkel

MikkelFJ wrote:

I noticed Radical before - but it is poorly documented. There is so much
software around to look at, so you need to provide better documentation and
examples if you want people to use it.

I’m aware of this problem, this will be at least partily resolved in
V0.6, I’ve already written in-line documentation for several key
classes/modules(as can be seen in RTrans.).

Idan