# Gettex newbea question

**URL:** <https://www.ruby-forum.com/t/gettex-newbea-question/131773>\
**Category:** Rails\
**Created:** [March 13, 2008, 4:05am UTC](https://www.ruby-forum.com/t/gettex-newbea-question/131773 "2008-03-13T04:05:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@casid](https://www.ruby-forum.com/u/casid)\
**Post date:** [March 13, 2008, 4:05am UTC](https://www.ruby-forum.com/t/gettex-newbea-question/131773/1 "2008-03-13T04:05:31Z")

</div>

Hello RoR Developers,

I want to use gettext tool for translating user interfaces of  
applications into different languages.  
I searched some pages like

> **[GNU gettext utilities](http://www.gnu.org/savannah-checkouts/gnu/gettext/manual/gettext.html)**
>
> GNU gettext utilities

[http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html](http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html)  
[http://manuals.rubyonrails.com/read/chapter/105](http://manuals.rubyonrails.com/read/chapter/105)

but couldn t understand clearly. Could you tell me briefly how to create  
.po,.pot,.mo files.

I created po folder by hand and tried to create .po file like

desc “Update pot/po files to match new version.”  
task :updatepo do  
MY\_APP\_TEXT\_DOMAIN = “myapp”  
MY\_APP\_VERSION = “myapp 1.1.0”  
GetText.update\_pofiles(YOUR\_APP\_TEXT\_DOMAIN,  
Dir.glob(“{app,lib}/\*\*/\*.{rb,rhtml}”),  
MY\_APP\_VERSION)  
end

I also tried to do the same example in  
[http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html#The+application's+information+on+this+tutorial](http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html#The+application%27s+information+on+this+tutorial)  
page but couldn t

could you tell me briefly what to do, step by step…

thanks

---

<div class="post-metadata">

**Author:** ![casid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@casid](https://www.ruby-forum.com/u/casid)\
**Post date:** [March 13, 2008, 8:38am UTC](https://www.ruby-forum.com/t/gettex-newbea-question/131773/2 "2008-03-13T08:38:15Z")

</div>

if it s possible could you send me some examples about gettext. I really  
need it soon. I need details, if I see one rails application then can  
create by myself.

thank you again.
