how to internatianalize the ruby on rails site - ruby-on-rails

We have the rails app, content served from the database. Now we need to translate that to multiple languages. What is the best way to the internalization of the ruby on rails application?

You can use the plugin Globalize2 http://github.com/joshmh/globalize2

Try using localized record to add translations for your content.

Related

rails i18n, the best way to manage localization

I'm using http://guides.rubyonrails.org/i18n.html for localization. Looks like that the only solution for updating localization is to update yml files. May be there are some solutions or gems which adds ability to update localization via application. For example we can include some gem and update localization files from our app. Is there some solutions for that?
Shameless plug for my own product here, but check out http://www.localeapp.com for a solution that works with YAML files out of the box.
Take a look at Globalize 3. It stores the translation/localization data in the database. There's also a gem to hook it up with ActiveAdmin.
Also, while you're at it, don't miss the rails-i18n gem mentioned in the guide. It translates Rails itself into many languages, so you don't have to do it yourself.
There is a great railscast to manage i18n through Redis.

How to implement i18n / translations for ActiveRecord models?

I am internationalizing my app, and after having translated the interface with the yml locale files, I now want to localize my models. I am using ActiveAdmin so the editors can update content and I would like the solution to be suitable for this.
Is there any way to define some of my model attributes as translatable, so rails generates a migration that creates an extra field for each locale / language? This, or something similar, would be my prefered solution, but I a open to other aproaches.
Check this discussion you'll find an approach for the same problem you have.
You can use globalize3 gem. It's great gem to manage model translations.

What plugin\gem do you advice to use in order to add tag functionalities to my web application?

I am using Ruby on Rails 3.1 and I would like to add tag functionalities to my web application.
Do you advice to use a plugin\gem? If so, what plugin\gem do you advice to use?
acts-as-taggable-on is an universal solution for tags implentation in Rails.
There are plenty. Checkout ruby-toolbox for options.

what is the relationship between ruby, ruby on rails and html?

what is the relationship between ruby, ruby on rails and html?
Ruby is a programming language. Ruby on Rails is a Model-View-Controller (MVC) web application framework written in Ruby. HTML is a markup language used for the formatting of web pages and is commonly used to present the output generated by a Ruby on Rails application to the final user.
Ruby is programming language
Ruby on rails is a web framework written in Ruby.
HTML is a markup language to create web pages
HTML is markup language used majority of times in view of rails.It is used to design the frontend.
Ruby is a object oriented programming language with latest version as 1.9.2 and Ruby on rails built on ruby is a web application framework with version3 currently in use.Links which may help you:
http://www.ruby-doc.org
http://api.rubyonrails.org

Best options for translating a rails app

Since there are so many options there available for internationalization of a rails app, which gems or plugins are the best (today) for adding i18n support to a rails app.
Im using I18n bundled with rails for the application messages, button labels, and model attribue names.
But I also need to let the users to input content and the translated version of the content, but there are so many options for this right now that I don't really know which one to use.
We at Mynewsdesk (the guys behind the translate plugin) has moved on, now we're using Web Translate It to manage our locales. We've bloged about our translation workflow.
I like this one:
https://www.github.com/mynewsdesk/translate
because it has a nice webGUI for translating new/changed strings

Resources