How To Make Your Rails App International
30-May-2019 1808
Creating an international application basically means displaying the same data in many languages. The beautiful world of ruby gems offers many options for achieving that goal. There are gems like Traco which allow you to store translations in multiple columns in the model table itself. You have to create a column for every translatable attribute. It doesn’t seem very clean when it comes to translating many attributes, does it? Luckily, there are other options — for example Globalize, which stores translations outside the model. Another approach is to serialize translations as a hash. And the cherry on top — Mobility, a magical thing that handles it all. So it seems like a perfect option, but… is it really? So which one will be the best choice for your project?.
How To Make Your Rails App International #ruby #rubydeveloper #rubyonrails #Rails #International https://rubyonrails.ba/link/how-to-make-your-rails-app-international