[Nitro] Localization ?

George Moschovitis george.moschovitis at gmail.com
Tue Aug 30 03:04:26 EDT 2005

you can use [[@name]]

in the uaml file tou put

apple: Apple


On 8/30/05, Emmanuel Piperakis <epiperak at softlab.ece.ntua.gr> wrote:
> One more question:
> if I have a "property :name, String" with value, lets say @name =
> 'apple' can I use Localization, so that when I do in the .xhtml file
> something like <p>[@name]</p> it will print the name in different languages?
> What should I put in the yml language files in this case? Something like:
> conf/locales/en.yml
> apple: Apple
> conf/locales/jp.yml
> apple: Ringo
> Thanx in advance :-)
> Emmanouil Piperakis (epiperak at cs.ntua.gr)
> {To explore is Human, to Create is Devine,
>   To teach is Primal, to Rule is Sin}
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general


More information about the Nitro-general mailing list