# Globalize list: Sketch of new globalize tutorial by szymek

**URL:** <https://www.ruby-forum.com/t/globalize-list-sketch-of-new-globalize-tutorial-by-szymek/63596>\
**Category:** Rails I18n\
**Created:** [June 16, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/globalize-list-sketch-of-new-globalize-tutorial-by-szymek/63596 "2006-06-16T15:12:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msojka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@msojka](https://www.ruby-forum.com/u/msojka)\
**Post date:** [June 16, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/globalize-list-sketch-of-new-globalize-tutorial-by-szymek/63596/1 "2006-06-16T15:12:54Z")

</div>

Again a pbly. interesting post by “szymek” to the globalize list (which  
still has no archive as far as I know):

– begin –

Hi!

I’ve created a sketch of a tutorial about how to use globalize to  
translate an existing rails app.  
You can find it here:  
[http://www.globalize-rails.org/wiki/pages/Examplary+application](http://www.globalize-rails.org/wiki/pages/Examplary+application).  
I couldn’t find complete globalize tutorial anywhere, so i decided to  
create one and hope that you will help 🙂

As English is not my native language (i’m Polish), i made lots of  
mistakes there and i _strongly_ encourage everyone to correct them. I’m  
not sure if even the title of the page is correct 🙂 I’m also not really  
sure if i should write “Now we have to create…” or “Now you have to  
create…” or just “Create…” so unfortunately you can find mix of all  
these forms.

I’m Ruby/Rails newbie, so the technical part can also have lots of  
mistakes. Feel free to correct/add/remove/improve anything you think  
will make this tutorial better.

I have few questions and propositions for the tutorial:

1. How to put url in 

2. Could you guys take a look at the built\_in column problem? I could  
remove then the whole _WARNING_ part. I’m not sure if only i have this  
problem.

3. There’s a problem with routes in the tutorial. If i go to  
“localhost:3000/admin/” i get “localhost:3000/en/admin/admin/products”.  
If i specify locale in the route for ‘admin’ it works correctly so i  
assume there’s something wrong in my :set\_locale method in  
application\_controller.rb.

4. How to display a single object in 2 languages on a single page? Do i  
need to get both versions from the database? Currently i’m using  
@instance\_variable.switch\_language method provided by  
globalize\_extension plugin, which was posted by Olivier Amblet on this  
mailing list. The plugin is great, but i’m not sure if there shouldn’t  
be globalize only solution in the tutorial. Maybe this plugin could be  
integrated with globalize? Also i’m not sure if Olivier Amblet is the  
only author of this plugin. Olivier, if you want feel free to change it.

5. Is it possible to upload files (globalize\_extension plugin) and  
pictures to the globalize wiki server?

6. It would be nice to say something about adding/using pluralizations,  
and localization of dates/currency (that’s why i’ve added  
created/updated\_on and price fields to product model).

7. Add a chapter about translating error messages (maybe they could be  
built-in like dates?)

8. Add short introduction.

9. Upload non-globalize and globalized versions of the app? It could be  
helpful as the reference and probably could clear up many inaccuracies.

10. Correct the styling (i.e. add different background color for notes,  
change font, maybe move it to the right?)

– end –

---

<div class="post-metadata">

**Author:** ![msojka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@msojka](https://www.ruby-forum.com/u/msojka)\
**Post date:** [July 4, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/globalize-list-sketch-of-new-globalize-tutorial-by-szymek/63596/2 "2006-07-04T16:47:00Z")

</div>

If you are interested in evaluating Globalize try

[http://wiki.globalize-rails.org/wiki/pages/Examplary+application](http://wiki.globalize-rails.org/wiki/pages/Examplary+application)

This is an excellent writing that helps you through all the hassles you  
might have with setting up Globalize. And you might learn about a couple  
of other fine rails things.

I’m currently trying this with Oracle, more about this in a followup  
posting.

A big thanks to szymek!

- Bernd

---

<div class="post-metadata">

**Author:** ![msojka](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@msojka](https://www.ruby-forum.com/u/msojka)\
**Post date:** [August 7, 2006, 7:29pm UTC](https://www.ruby-forum.com/t/globalize-list-sketch-of-new-globalize-tutorial-by-szymek/63596/3 "2006-08-07T19:29:51Z")

</div>

Your article was by far the most useful when trying to figure out how to  
‘globalize’ my site. Many thanks.

If you could add a way to somehow automatically ‘grab’ text from  
babbelfish or google translate - it would be a real bonus.
