# Rails I18n

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

[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:** 5

---

## [Open Source Contribution - Getting Started: i18n background generating rake?](https://www.ruby-forum.com/t/open-source-contribution-getting-started-i18n-background-generating-rake/189846)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 5\
**Last updated:** [June 8, 2010, 10:41pm UTC](https://www.ruby-forum.com/t/open-source-contribution-getting-started-i18n-background-generating-rake/189846 "2010-06-08T22:41:55Z")

</div>

Hello i18n community of rails. I’ve been programming RoR for a few years now, and want to test my chops contributing to some open source projects, I have a special interest in i18n and have an Idea, though i wanted to…

---

## [nb-NO.yml: Ã¥ turns into ï¿½](https://www.ruby-forum.com/t/nb-no-yml-a-turns-into-i/189821)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 2\
**Last updated:** [June 8, 2010, 1:40pm UTC](https://www.ruby-forum.com/t/nb-no-yml-a-turns-into-i/189821 "2010-06-08T13:40:15Z")

</div>

Hello, is there any way I can use letters like Ã¦, Ã¸ and Ã¥ in my yml without changing them to æ ø and å in order to avoid them showing up as ï¿½ and so on? Maybe there are some helpers out there or something? Much…

---

## [It just won't load](https://www.ruby-forum.com/t/it-just-wont-load/189793)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 4\
**Last updated:** [June 8, 2010, 12:11pm UTC](https://www.ruby-forum.com/t/it-just-wont-load/189793 "2010-06-08T12:11:15Z")

</div>

Hey, im trying desperately to load my norwegian translation file here… I’ve set config.i18n.default\_locale = :nb\_NO which should load config/ locales/nb\_NO.yml yeah? it just loads config/locales/en\_US.yml. both local…

---

## [Globalize2 enhancements (dynamic writers, blcks, validtions)](https://www.ruby-forum.com/t/globalize2-enhancements-dynamic-writers-blcks-validtions/188368)

<div class="topic-metadata">

**Author:** [@dasil003](https://www.ruby-forum.com/u/dasil003)\
**Replies:** 2\
**Last updated:** [June 1, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/globalize2-enhancements-dynamic-writers-blcks-validtions/188368 "2010-06-01T18:51:59Z")

</div>

Hey everyone, I am replacing some old Rails model localization with Globalize2. I am really impressed with the design of the Globalize2 plugin, but we have a pretty involved i18n setup on my site, so I’m finding a lo…

---

## [Deep\_merge! issue](https://www.ruby-forum.com/t/deep-merge-issue/189394)

<div class="topic-metadata">

**Author:** [@lo\_pan](https://www.ruby-forum.com/u/lo_pan)\
**Replies:** 0\
**Last updated:** [May 31, 2010, 6:44am UTC](https://www.ruby-forum.com/t/deep-merge-issue/189394 "2010-05-31T06:44:06Z")

</div>

Hi All, The i18n gem has a deep\_merge! method defined, but so have rails 2.3.x and rails 3, and all these implementations differ and have different behavior. I was wondering if all implementations should be consolidat…

---

## [Url\_for , to\_param and translate routes](https://www.ruby-forum.com/t/url-for-to-param-and-translate-routes/188454)

<div class="topic-metadata">

**Author:** [@temesta](https://www.ruby-forum.com/u/temesta)\
**Replies:** 10\
**Last updated:** [May 27, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/url-for-to-param-and-translate-routes/188454 "2010-05-27T18:10:58Z")

</div>

Hello, Let’s put it simple. The problem is that to\_param generates URLS according to the current language. Suppose my current locale is ‘nl’ and I’m currently viewing an article with this URL : http://cms/nl/article…

---

## [Localize and lambdas](https://www.ruby-forum.com/t/localize-and-lambdas/186418)

<div class="topic-metadata">

**Author:** [@rob-twf](https://www.ruby-forum.com/u/rob-twf)\
**Replies:** 3\
**Last updated:** [May 21, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/localize-and-lambdas/186418 "2010-05-21T16:24:58Z")

</div>

Since localize was changed to go via translate rather than directly resolving, it seems lambdas no longer work. The problem being that the lambda is called in translate, which doesn’t have access to the object being l…

---

## [Why is this t() call failing?](https://www.ruby-forum.com/t/why-is-this-t-call-failing/188537)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 4\
**Last updated:** [May 13, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/why-is-this-t-call-failing/188537 "2010-05-13T16:27:44Z")

</div>

Can anyone see why this is failing? It’s probably something dumb on my part but i’m stumped :confused: ActionView::TemplateError (interpolation argument :date\_string missing in “Created on {{:date\_string}} at {{:time…

---

## [Legacy ISO-8859-1 MSSQL db and UTF8 rails app](https://www.ruby-forum.com/t/legacy-iso-8859-1-mssql-db-and-utf8-rails-app/113168)

<div class="topic-metadata">

**Author:** [@linus](https://www.ruby-forum.com/u/linus)\
**Replies:** 10\
**Last updated:** [May 6, 2010, 12:44pm UTC](https://www.ruby-forum.com/t/legacy-iso-8859-1-mssql-db-and-utf8-rails-app/113168 "2010-05-06T12:44:45Z")

</div>

Hi! I have problem with legacy database in MSSQL encoding. The new app in Rails and most of the database is Utf8, while tables from legacy MSSQL are encoded in ISO-8859-1. I am not sure how to approach this problem. …

---

## [Undefined method i18n](https://www.ruby-forum.com/t/undefined-method-i18n/188082)

<div class="topic-metadata">

**Author:** [@akira-y](https://www.ruby-forum.com/u/akira-y)\
**Replies:** 3\
**Last updated:** [May 6, 2010, 9:51am UTC](https://www.ruby-forum.com/t/undefined-method-i18n/188082 "2010-05-06T09:51:35Z")

</div>

I have tried to boot WEBrick, though I suffered the problem like i18n method not found. How can I recover from this problem? $ ruby script/server =\> Booting WEBrick… /home/user/ror/design\_qr/config/environment.rb:56…

---

## [Build a website in japanese language](https://www.ruby-forum.com/t/build-a-website-in-japanese-language/188028)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/build-a-website-in-japanese-language/188028 "2010-05-04T15:18:47Z")

</div>

Hi, I’m newbie to the concept of internationalization, so i may sound funny. I have a requirement of building a website which teaches japanese(like fill in the blanks, choose the best answer, etc,etc). There will be …

---

## [Deprecating {{}} and welcoming %{}](https://www.ruby-forum.com/t/deprecating-and-welcoming/187874)

<div class="topic-metadata">

**Author:** [@josevalim](https://www.ruby-forum.com/u/josevalim)\
**Replies:** 4\
**Last updated:** [May 3, 2010, 8:00am UTC](https://www.ruby-forum.com/t/deprecating-and-welcoming/187874 "2010-05-03T08:00:29Z")

</div>

Hey guys, I did a couple benchmarks related with using {{}} or %{} as interpolation option in message and got the following results. Using Ruby 1.9.1 {{}} 525.48 ms %{} 320.03 ms Using REE {{}} 813.61 ms %…

---

## [I18n 0.4.0.beta released](https://www.ruby-forum.com/t/i18n-0-4-0-beta-released/187865)

<div class="topic-metadata">

**Author:** [@josevalim](https://www.ruby-forum.com/u/josevalim)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 4:26pm UTC](https://www.ruby-forum.com/t/i18n-0-4-0-beta-released/187865 "2010-04-30T16:26:59Z")

</div>

Hey folks, I18n 0.4.0.beta was released. The major changes were: Decouple the external separator (used when storing translations) from the internal separator in Fast and ActiveRecord backends Decouple the external …

---

## [KeyValue backend and links issues](https://www.ruby-forum.com/t/keyvalue-backend-and-links-issues/187754)

<div class="topic-metadata">

**Author:** [@josevalim](https://www.ruby-forum.com/u/josevalim)\
**Replies:** 1\
**Last updated:** [April 29, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/keyvalue-backend-and-links-issues/187754 "2010-04-29T19:19:05Z")

</div>

Hey guys, I’ve been working on a KeyValue backend for I18n. The implementation is quite straightforward and works with different data stores (as TokyoCabinet and Redis). Most of the base work was already ported to th…

---

## [Link to doncumentation on github](https://www.ruby-forum.com/t/link-to-doncumentation-on-github/187582)

<div class="topic-metadata">

**Author:** [@albert](https://www.ruby-forum.com/u/albert)\
**Replies:** 0\
**Last updated:** [April 26, 2010, 9:42am UTC](https://www.ruby-forum.com/t/link-to-doncumentation-on-github/187582 "2010-04-26T09:42:27Z")

</div>

Just a small question, would it make sense to have the readme of the gem at least link to the Rails guide about I18nhttp://guides.rubyonrails.org/i18n.html? This is all completely my personal opinion, but trying to t…

---

## [Globalize2 updates - please test!](https://www.ruby-forum.com/t/globalize2-updates-please-test/187451)

<div class="topic-metadata">

**Author:** [@hukl](https://www.ruby-forum.com/u/hukl)\
**Replies:** 0\
**Last updated:** [April 23, 2010, 11:59am UTC](https://www.ruby-forum.com/t/globalize2-updates-please-test/187451 "2010-04-23T11:59:23Z")

</div>

Hey, I spent last nite with recreational ruby hacking and closed some longstanding globalize2 issues. One fix was for #to\_xml to include translated and untranslated attributes. I therefor overloaded #attributes and #…

---

## [Requires RubyGems version \>= 1.3.6](https://www.ruby-forum.com/t/requires-rubygems-version-1-3-6/187421)

<div class="topic-metadata">

**Author:** [@codegenesys](https://www.ruby-forum.com/u/codegenesys)\
**Replies:** 0\
**Last updated:** [April 22, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/requires-rubygems-version-1-3-6/187421 "2010-04-22T21:40:34Z")

</div>

Hi, I have ruby 1.8.7. I have RubyGems version 1.3.6 installed. I am trying to install/attach i18n v 0.3.7. However gem install complains that I need RubyGems version 1.3.6 atleast (which is already installed). (I …

---

## ["private method \`gsub'" error caused by addition of a line](https://www.ruby-forum.com/t/private-method-gsub-error-caused-by-addition-of-a-line/187237)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 26\
**Last updated:** [April 22, 2010, 2:17pm UTC](https://www.ruby-forum.com/t/private-method-gsub-error-caused-by-addition-of-a-line/187237 "2010-04-22T14:17:53Z")

</div>

hi all. I just added this line to my config/locals/en.yml file and now rails is blowing up when i try to start mongrel/console. old version: title: main: Who Wants To Be A Millionaire? For Schools flashes: quiz: …

---

## [Localhost:3000/en/x instead of localhost:3000/x?locale=en](https://www.ruby-forum.com/t/localhost-3000-en-x-instead-of-localhost-3000-x-locale-en/187117)

<div class="topic-metadata">

**Author:** [@taranaki](https://www.ruby-forum.com/u/taranaki)\
**Replies:** 2\
**Last updated:** [April 18, 2010, 7:25pm UTC](https://www.ruby-forum.com/t/localhost-3000-en-x-instead-of-localhost-3000-x-locale-en/187117 "2010-04-18T19:25:52Z")

</div>

Hello everyone At first I have to say that I am quite new to Ruby on Rails. Now I have encountered the following problem. My application (which is something similar to a library system and quite big) is able to chang…

---

## [Idea I18n.t(:not\_existing).presence == nil](https://www.ruby-forum.com/t/idea-i18n-t-not-existing-presence-nil/187070)

<div class="topic-metadata">

**Author:** [@iain\_hecker](https://www.ruby-forum.com/u/iain_hecker)\
**Replies:** 1\
**Last updated:** [April 16, 2010, 3:30pm UTC](https://www.ruby-forum.com/t/idea-i18n-t-not-existing-presence-nil/187070 "2010-04-16T15:30:56Z")

</div>

Hi guys, I had an idea, just wondering what your thoughts on it are. Short introduction: ActiveSupport 3 introduces the #presence method, which returns nil if #present? returns false, otherwise it returns self. Can …

---

## [Globalize1 to I18n migration plugin](https://www.ruby-forum.com/t/globalize1-to-i18n-migration-plugin/187030)

<div class="topic-metadata">

**Author:** [@JSSS\_rgen\_FeSSSSlme](https://www.ruby-forum.com/u/JSSS_rgen_FeSSSSlme)\
**Replies:** 0\
**Last updated:** [April 15, 2010, 11:50pm UTC](https://www.ruby-forum.com/t/globalize1-to-i18n-migration-plugin/187030 "2010-04-15T23:50:37Z")

</div>

For those of you who are still stuck with Globalize1, due to the lack of a migration path to native I18n, there is a plugin for that. Please find it on: http://github.com/jfesslmeier/globalize\_bridge Have fun, feedba…

---

## [Adding i18n support to Rails' transliterator](https://www.ruby-forum.com/t/adding-i18n-support-to-rails-transliterator/186957)

<div class="topic-metadata">

**Author:** [@Norman\_Clarke](https://www.ruby-forum.com/u/Norman_Clarke)\
**Replies:** 4\
**Last updated:** [April 15, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/adding-i18n-support-to-rails-transliterator/186957 "2010-04-15T18:30:20Z")

</div>

Hi all, The other day I sent a patch to Rails to improve ActiveSupport::Inflector’s support for transliterating UTF-8 Latin characters to ASCII. In the discussion of the patch, I mentioned the idea of making Inflect…

---

## [I18n\_routing: Easy routes translations for Rails 2.x And Rails3](https://www.ruby-forum.com/t/i18n-routing-easy-routes-translations-for-rails-2-x-and-rails3/186454)

<div class="topic-metadata">

**Author:** [@kwi](https://www.ruby-forum.com/u/kwi)\
**Replies:** 7\
**Last updated:** [April 13, 2010, 6:37pm UTC](https://www.ruby-forum.com/t/i18n-routing-easy-routes-translations-for-rails-2-x-and-rails3/186454 "2010-04-13T18:37:38Z")

</div>

Hi everyone, Last week, I have finaly pushed my plugin that do Rails routing translation on github. It’s based on top of I18n api and it works with Rails 2 and Rails 3 ! I currently use it in production on several Ra…

---

## [Locale parameter on URL](https://www.ruby-forum.com/t/locale-parameter-on-url/186564)

<div class="topic-metadata">

**Author:** [@Paulo\_HSVSNeves](https://www.ruby-forum.com/u/Paulo_HSVSNeves)\
**Replies:** 26\
**Last updated:** [April 12, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/locale-parameter-on-url/186564 "2010-04-12T15:18:57Z")

</div>

Hello guys. I just started learning Rails and one of the first things I was interested was the localization of my website. I started looking the rails-i18n and it worked beautifully, except for some things. e.g.: i wa…

---

## [Undefined local variable or method \`globalize\_options'](https://www.ruby-forum.com/t/undefined-local-variable-or-method-globalize-options/186566)

<div class="topic-metadata">

**Author:** [@StuFF\_mc](https://www.ruby-forum.com/u/StuFF_mc)\
**Replies:** 0\
**Last updated:** [April 8, 2010, 11:36pm UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-globalize-options/186566 "2010-04-08T23:36:59Z")

</div>

Hi, I was recommended to post my questions here by Sven F… I know I18n which I use since a couple of months for both http://radiopodcast.fr (+ it’s upcoming iPhone app) and the backend of the upcoming SevenSnap.com i…

---

## [Dup translations right after lookup?](https://www.ruby-forum.com/t/dup-translations-right-after-lookup/186358)

<div class="topic-metadata">

**Author:** [@Sven\_F](https://www.ruby-forum.com/u/Sven_F)\
**Replies:** 2\
**Last updated:** [April 5, 2010, 11:14pm UTC](https://www.ruby-forum.com/t/dup-translations-right-after-lookup/186358 "2010-04-05T23:14:56Z")

</div>

Heya, I’ve just committed a change that has been proposed to me a while ago: http://github.com/svenfuchs/i18n/commit/43304331eb7de2f52ccf9e343f457ffa4f5dc473 Based on (Ummm, I should probably keep the author credit…

---

## [How to expire cache in AR backend?](https://www.ruby-forum.com/t/how-to-expire-cache-in-ar-backend/186278)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 1\
**Last updated:** [April 5, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/how-to-expire-cache-in-ar-backend/186278 "2010-04-05T16:50:23Z")

</div>

Hey, how to expire cache in AR backend i.e. after updating a translation? I think there’s a problem with cache\_key method - it simply takes the arguments passed to #translate and generates cache key based on them. Th…

---

## [Translate everything ok but activerecord.errors.template](https://www.ruby-forum.com/t/translate-everything-ok-but-activerecord-errors-template/186316)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 0\
**Last updated:** [April 4, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/translate-everything-ok-but-activerecord-errors-template/186316 "2010-04-04T18:15:17Z")

</div>

Hi Guys, My i18n locale yml files work well for all translation except the error template header and body. What’s wrong with my yml: zh: activerecord: errors: template: header: one: “æœ‰ 1 å€‹éŒ¯èª¤ç™¼ç”Ÿï¼Œã€…

---

## [Why i was not able to create rails application?](https://www.ruby-forum.com/t/why-i-was-not-able-to-create-rails-application/186264)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 3\
**Last updated:** [April 4, 2010, 1:13am UTC](https://www.ruby-forum.com/t/why-i-was-not-able-to-create-rails-application/186264 "2010-04-04T01:13:43Z")

</div>

Dear Friends, I have installed ruby 1.8.7 binary version in my windows machine. Then i have installed rails2.3.4 and mysql 2.8.1 gems. Ruby gems version is 1.3.6. I have installed related dlls in my machine. I was ab…

---

## [Date validation fails for all September dates in Spanish](https://www.ruby-forum.com/t/date-validation-fails-for-all-september-dates-in-spanish/186241)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 2\
**Last updated:** [April 3, 2010, 1:22pm UTC](https://www.ruby-forum.com/t/date-validation-fails-for-all-september-dates-in-spanish/186241 "2010-04-03T13:22:03Z")

</div>

Here’s how I’ve got my dates set up: date: formats: Use the strftime parameters for formats. When no format has been given, it uses default. You can provide other formats here if you like! default: “%d-%m-%Y” short: …

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

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