# Rails I18n

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/rails-i18n/17.md?page=9

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 10

---

## [Default value on a column w/ a sequence - Postgres](https://www.ruby-forum.com/t/default-value-on-a-column-w-a-sequence-postgres/128176)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 1\
**Last updated:** [February 5, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/default-value-on-a-column-w-a-sequence-postgres/128176 "2008-02-05T21:12:27Z")

</div>

I recently modified the customer\_number field in my Users table in a migration: remove\_column :users, :customer\_number execute “CREATE SEQUENCE user\_customer\_number\_seq MINVALUE 10000;” execute "ALTER TABLE users ADD…

---

## [NEED: Translate/localize RoR site](https://www.ruby-forum.com/t/need-translate-localize-ror-site/196590)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 7:40am UTC](https://www.ruby-forum.com/t/need-translate-localize-ror-site/196590 "2008-02-05T07:40:38Z")

</div>

Hello, I need a localization tool/plugin for my rails application that work with REST, can translate whole web pages(or i can create 2 different pages for 2 languages), and fast. Thanks for any suggestions!!!

---

## [Overriding shipped rails.mo file in gettext 1.10](https://www.ruby-forum.com/t/overriding-shipped-rails-mo-file-in-gettext-1-10/122933)

<div class="topic-metadata">

**Author:** [@spiceee](https://www.ruby-forum.com/u/spiceee)\
**Replies:** 0\
**Last updated:** [December 12, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/overriding-shipped-rails-mo-file-in-gettext-1-10/122933 "2007-12-12T21:36:22Z")

</div>

Hey, There are some annoying errors in the shipped pt\_BR rails.mo and I’m trying to write my own. Makemo writes my own rails.mo to my locale/pt\_BR dir but there’s no way it overrides the original rails.mo, not even w…

---

## [Transaction when operating in two tables](https://www.ruby-forum.com/t/transaction-when-operating-in-two-tables/122634)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 3\
**Last updated:** [December 10, 2007, 10:39am UTC](https://www.ruby-forum.com/t/transaction-when-operating-in-two-tables/122634 "2007-12-10T10:39:05Z")

</div>

Hello, I’m reading from a table in the database to fetch some path to files to import. I do a loop for each path, and for each .csv file, I update another table. All works perfect, but it takes lot of time, 90 files…

---

## [Globalize\_countries conflict](https://www.ruby-forum.com/t/globalize-countries-conflict/84191)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [November 29, 2007, 8:09am UTC](https://www.ruby-forum.com/t/globalize-countries-conflict/84191 "2007-11-29T08:09:00Z")

</div>

Hi, I just installed globalize and the problem is that I have a model ‘Country’ which seems to conflict with globalize’s ‘Globalize::Country’ model. Every time I use ‘Country’ now Rails assumes I mean Globalize::Coun…

---

## [Reg : select\_datetime s](https://www.ruby-forum.com/t/reg-select-datetime-s/196528)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 0\
**Last updated:** [November 28, 2007, 11:13am UTC](https://www.ruby-forum.com/t/reg-select-datetime-s/196528 "2007-11-28T11:13:33Z")

</div>

Hi, I want to display date and time. I used \<%= datetime\_select (:program ,:trailer\_date )%\> program=Program.new(params\[:program\]) when i save this format it is throwing error.if any one knows how to solve pls help …

---

## [Globalize: Collection Messages](https://www.ruby-forum.com/t/globalize-collection-messages/64835)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 3\
**Last updated:** [November 22, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/globalize-collection-messages/64835 "2007-11-22T12:34:49Z")

</div>

Hi, as far as I understand is Globalize adding every not translated message to the database during runtime of the application? (if method translate() is called) That means one need run the application and visit every…

---

## [Uninitialized constant: GetText::Rails::Configuration](https://www.ruby-forum.com/t/uninitialized-constant-gettext-configuration/120938)

<div class="topic-metadata">

**Author:** [@benni](https://www.ruby-forum.com/u/benni)\
**Replies:** 0\
**Last updated:** [November 21, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-gettext-configuration/120938 "2007-11-21T23:11:32Z")

</div>

hey I’m using gettext (1.10.0) in my app (rails 1.2.5) and everything works fine except a litte action. this exception occurs, when i finish an order (were using a software to manage foodcoops) and the users should g…

---

## [Belongs\_to in a list](https://www.ruby-forum.com/t/belongs-to-in-a-list/120697)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/belongs-to-in-a-list/120697 "2007-11-19T21:44:41Z")

</div>

I have list of blogs with usernames \<% for @blogs in @blogs.reverse %\> \<% @user = @blogs.user %\> \<%= @user.login %\> but the user.login is a no method error. when i in a view of a specific blog the user.login is ret…

---

## [Removing accents from sentences (ex: url creations) - what's](https://www.ruby-forum.com/t/removing-accents-from-sentences-ex-url-creations-whats/112835)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 3\
**Last updated:** [November 16, 2007, 11:38am UTC](https://www.ruby-forum.com/t/removing-accents-from-sentences-ex-url-creations-whats/112835 "2007-11-16T11:38:58Z")

</div>

Hi! I could not find it so far - but maybe rails i18n is the right list for that question: is there something already available somewhere in the ruby space to remove accents and other diacritics from a string ? (lik…

---

## [Problem with image\_tag](https://www.ruby-forum.com/t/problem-with-image-tag/119757)

<div class="topic-metadata">

**Author:** [@djmook](https://www.ruby-forum.com/u/djmook)\
**Replies:** 1\
**Last updated:** [November 10, 2007, 2:12am UTC](https://www.ruby-forum.com/t/problem-with-image-tag/119757 "2007-11-10T02:12:21Z")

</div>

I’ve been following a tutorial for Rails that goes through uploading images directly to databases. The problem is that using image\_tag keeps automatically appending .png to the end of the address. /classified/image/9 …

---

## [Internationalization options](https://www.ruby-forum.com/t/internationalization-options/119071)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 1\
**Last updated:** [November 5, 2007, 10:21am UTC](https://www.ruby-forum.com/t/internationalization-options/119071 "2007-11-05T10:21:08Z")

</div>

Hi, I’m new to ruby and rails. I need support for for localized pages, pages with multilingual content, international date/time formats, and calendar and time zone calculations. Initially, I asked someone on the ICU …

---

## [Dates in Gettext](https://www.ruby-forum.com/t/dates-in-gettext/118825)

<div class="topic-metadata">

**Author:** [@samlown](https://www.ruby-forum.com/u/samlown)\
**Replies:** 2\
**Last updated:** [October 31, 2007, 2:41pm UTC](https://www.ruby-forum.com/t/dates-in-gettext/118825 "2007-10-31T14:41:19Z")

</div>

Hi All, It comes up quite a lot, and after much searching, I’ve not been able to find a solution to handling dates in Gettext that I actually liked. Overriding array constants inside various libraries and expecting th…

---

## [Ruby-Gettext and date/time?](https://www.ruby-forum.com/t/ruby-gettext-and-date-time/79656)

<div class="topic-metadata">

**Author:** [@chrisjo](https://www.ruby-forum.com/u/chrisjo)\
**Replies:** 1\
**Last updated:** [October 31, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/ruby-gettext-and-date-time/79656 "2007-10-31T12:34:18Z")

</div>

How can I have localized dates and times using Ruby-Gettext?

---

## [Gettext's Locale class in application namespace](https://www.ruby-forum.com/t/gettexts-locale-class-in-application-namespace/118023)

<div class="topic-metadata">

**Author:** [@samlown](https://www.ruby-forum.com/u/samlown)\
**Replies:** 1\
**Last updated:** [October 28, 2007, 11:58am UTC](https://www.ruby-forum.com/t/gettexts-locale-class-in-application-namespace/118023 "2007-10-28T11:58:25Z")

</div>

Hi, I’ve been trying to use Gettext with one my web applications. I’ve used Gettext many times in the past without problems and appreciate it greatly. In this particular instance, my web application has its own Activ…

---

## [Unicode categories in regexps?](https://www.ruby-forum.com/t/unicode-categories-in-regexps/118329)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 0\
**Last updated:** [October 25, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/unicode-categories-in-regexps/118329 "2007-10-25T19:30:48Z")

</div>

Is there anything for ruby that will give me access to unicode character categories in a regexp like function? For instance, say I want to replace all punctuation with a space, in a unicode-friendly way that will work…

---

## [Write insert query in views](https://www.ruby-forum.com/t/write-insert-query-in-views/116199)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 11:02am UTC](https://www.ruby-forum.com/t/write-insert-query-in-views/116199 "2007-10-04T11:02:39Z")

</div>

Hello frnds Is there any method to write the insert query in the .rhtml file (eg: -list.rhtml). If so please do let me know. Thanks Dhaval P.

---

## [Indentifier name too long](https://www.ruby-forum.com/t/indentifier-name-too-long/67564)

<div class="topic-metadata">

**Author:** [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Replies:** 2\
**Last updated:** [September 9, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/indentifier-name-too-long/67564 "2007-09-09T14:05:19Z")

</div>

Running Edge (4991) and MySQL (5.0.22) When running “rake db:migrate” Mysql::Error: Identifier name ‘index\_globalize\_translations\_on\_table\_name\_and\_item\_id\_and\_language\_id’ is too long: CREATE INDEX index\_globalize…

---

## [Unicode in URL param?](https://www.ruby-forum.com/t/unicode-in-url-param/113879)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 1\
**Last updated:** [September 7, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/unicode-in-url-param/113879 "2007-09-07T20:24:11Z")

</div>

Can I put unicode chars in a URL param value? If so… how? Right now, in my URL params generated by Umlaut, Unicode seems to get corrupted. I have a string with unicode in it–when sent to the browser, it displays pro…

---

## [Language code in the URL](https://www.ruby-forum.com/t/language-code-in-the-url/113185)

<div class="topic-metadata">

**Author:** [@steerio](https://www.ruby-forum.com/u/steerio)\
**Replies:** 1\
**Last updated:** [August 28, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/language-code-in-the-url/113185 "2007-08-28T15:51:23Z")

</div>

Cheers fellow developers, in our application we would like to include a language code in the URL’s of at least some resources, mainly for SEO reasons (Google should index several language versions of the same page so …

---

## [Ldap+windows+instant rails](https://www.ruby-forum.com/t/ldap-windows-instant-rails/112929)

<div class="topic-metadata">

**Author:** [@shyamydv](https://www.ruby-forum.com/u/shyamydv)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/ldap-windows-instant-rails/112929 "2007-08-24T16:04:26Z")

</div>

Hello guys , I am new in Ruby on rails , I have installed Ruby+rails+gem +mysql+oracle , from instant rail package installer now i want to run ldap on my windows system , so please help me how i can do that please …

---

## [Rails Engines](https://www.ruby-forum.com/t/rails-engines/196447)

<div class="topic-metadata">

**Author:** [@shyamydv](https://www.ruby-forum.com/u/shyamydv)\
**Replies:** 0\
**Last updated:** [August 24, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/rails-engines/196447 "2007-08-24T15:54:23Z")

</div>

Hello guys , I am new in Ruby on rails , I have installed Ruby+rails+gem +mysql+oracle , from instant rail package installer now i want to run ldap on my windows system , so please help me how i can do that please …

---

## [HOWTO generate rails skeleton](https://www.ruby-forum.com/t/howto-generate-rails-skeleton/112685)

<div class="topic-metadata">

**Author:** [@hhifnawi](https://www.ruby-forum.com/u/hhifnawi)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 11:29am UTC](https://www.ruby-forum.com/t/howto-generate-rails-skeleton/112685 "2007-08-22T11:29:27Z")

</div>

NEED help: My group are working on rails IDE and we’re in the wizard part now and we’re trying to generate the Rails skeleton and we looked in the rubygems and found in gems/1.8/gems/rails-1.2.2/lib/rails\_generator/g…

---

## [Binary conversion](https://www.ruby-forum.com/t/binary-conversion/111278)

<div class="topic-metadata">

**Author:** [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/binary-conversion/111278 "2007-08-04T20:59:46Z")

</div>

Hi all, Could you please propose me a solution to convert a string or a file in a univarsal binary value? Regards, Z4n9ief

---

## [CLDR and Globalize](https://www.ruby-forum.com/t/cldr-and-globalize/108581)

<div class="topic-metadata">

**Author:** [@Patrick\_Hall](https://www.ruby-forum.com/u/Patrick_Hall)\
**Replies:** 0\
**Last updated:** [July 5, 2007, 12:41am UTC](https://www.ruby-forum.com/t/cldr-and-globalize/108581 "2007-07-05T00:41:10Z")

</div>

Hi folks, I have been digging around in various i18n packages, and so far my team is leaning toward Globalize, it seems like an active and usable project. Question: How is the data in globalize/trunk/data/ populated…

---

## [DateFields and ActiveRecords](https://www.ruby-forum.com/t/datefields-and-activerecords/108269)

<div class="topic-metadata">

**Author:** [@jonas](https://www.ruby-forum.com/u/jonas)\
**Replies:** 1\
**Last updated:** [July 2, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/datefields-and-activerecords/108269 "2007-07-02T13:52:43Z")

</div>

Here is some typical code, right? \<% for column in User.visible\_columns true %\> \<%= column.human\_name %\> \<%=h @user.send(column.name) %\> \<% end %\> I want to customize how the date is formatted for timestamps. How…

---

## [How to detect translated fields?](https://www.ruby-forum.com/t/how-to-detect-translated-fields/106337)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 0\
**Last updated:** [June 8, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/how-to-detect-translated-fields/106337 "2007-06-08T18:48:50Z")

</div>

Hey all, I use globalize intern translation like this: class Media \< ActiveRecord::Base self.keep\_translations\_in\_model = true translates :name, :base\_as\_default =\> true end and I use it for several models. Is ther…

---

## [Globalize: not visible changes made to translations](https://www.ruby-forum.com/t/globalize-not-visible-changes-made-to-translations/105299)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 0\
**Last updated:** [May 28, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/globalize-not-visible-changes-made-to-translations/105299 "2007-05-28T17:03:26Z")

</div>

Hi, I’m using Globalize in my rails app and when I insert the translation for the first time everything is ok, but after that, any changes made to that translation are not visible in my views. They become available wh…

---

## [Trouble with Ruby GetText and frozen Rails?](https://www.ruby-forum.com/t/trouble-with-ruby-gettext-and-frozen-rails/104882)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/trouble-with-ruby-gettext-and-frozen-rails/104882 "2007-05-23T15:38:11Z")

</div>

I’m having trouble getting GetText to work on my Rails project. My setup: Ruby 1.8.5 (as it is used by my host) gettext 1.9.0 (win32 gem) Rails 1.2.2 (frozen through svn:externals on /vendor) As long as I have Rails…

---

## [Tmw](https://www.ruby-forum.com/t/tmw/104032)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 8:01am UTC](https://www.ruby-forum.com/t/tmw/104032 "2007-05-13T08:01:10Z")

</div>

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/rails-i18n/17.md?page=8)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/rails-i18n/17.md?page=10)
