# Rails I18n

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

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

---

## [How to set otherlang.yml as default for my ROR application](https://www.ruby-forum.com/t/how-to-set-otherlang-yml-as-default-for-my-ror-application/195003)

<div class="topic-metadata">

**Author:** [@arunachandu](https://www.ruby-forum.com/u/arunachandu)\
**Replies:** 2\
**Last updated:** [September 15, 2010, 9:57am UTC](https://www.ruby-forum.com/t/how-to-set-otherlang-yml-as-default-for-my-ror-application/195003 "2010-09-15T09:57:48Z")

</div>

Hi , I am working on Internationalization . I have the otherlanguagefile.yml file for all the locales . By default my application takes en.yml . How could i set otherlanguagefile.yml as default.

---

## [After Upgrade to Rails 3.0, all translation missing: en](https://www.ruby-forum.com/t/after-upgrade-to-rails-3-0-all-translation-missing-en/194825)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 0\
**Last updated:** [September 11, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/after-upgrade-to-rails-3-0-all-translation-missing-en/194825 "2010-09-11T16:49:07Z")

</div>

HI All, I’ve just succeeded to upgrade my rails to 3.0. However, all my translation are missing no matter what locale I set. I can run ‘rake makemo’ and I tried to add and remove the following I18n.backend in my app…

---

## [Translating NO (norway)](https://www.ruby-forum.com/t/translating-no-norway/194734)

<div class="topic-metadata">

**Author:** [@joahking](https://www.ruby-forum.com/u/joahking)\
**Replies:** 5\
**Last updated:** [September 10, 2010, 11:38am UTC](https://www.ruby-forum.com/t/translating-no-norway/194734 "2010-09-10T11:38:37Z")

</div>

hi there I have an app that keeps country codes to translate the country names, but Norway does not works, mainly because its country\_code is NO and that is reserved I guess. how can I fix that? thanks in advance g…

---

## [Internatiolazing columns in Rails](https://www.ruby-forum.com/t/internatiolazing-columns-in-rails/194384)

<div class="topic-metadata">

**Author:** [@wardenik](https://www.ruby-forum.com/u/wardenik)\
**Replies:** 1\
**Last updated:** [September 3, 2010, 2:11pm UTC](https://www.ruby-forum.com/t/internatiolazing-columns-in-rails/194384 "2010-09-03T14:11:08Z")

</div>

Hey, I’m a newbie with Rails and ActiveRecord so sorry for stupid question if it is stupid though :wink: I have read several articles about making i18n for validation messages, models and stuff. What I want to do, i…

---

## [Active Record serialized attr loosing encoding (YAML issue)](https://www.ruby-forum.com/t/active-record-serialized-attr-loosing-encoding-yaml-issue/194352)

<div class="topic-metadata">

**Author:** [@tgreiser](https://www.ruby-forum.com/u/tgreiser)\
**Replies:** 2\
**Last updated:** [September 2, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/active-record-serialized-attr-loosing-encoding-yaml-issue/194352 "2010-09-02T22:40:14Z")

</div>

I’m using Rails 2.3.8 with Ruby 1.9.1 and I’m having a problem with serialized attributes in active record not preserving string encodings. The underlying problem is probably yaml, but I’m wondering if anyone has any …

---

## [Process to start internationalization](https://www.ruby-forum.com/t/process-to-start-internationalization/194328)

<div class="topic-metadata">

**Author:** [@alkkumar531](https://www.ruby-forum.com/u/alkkumar531)\
**Replies:** 1\
**Last updated:** [September 2, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/process-to-start-internationalization/194328 "2010-09-02T14:47:16Z")

</div>

i am new to ror… i want to know wat configuration i shud do for starting i18n applications

---

## [Redirect from http://rails-i18n.org/wiki to http://ruby-i18n.org/wiki](https://www.ruby-forum.com/t/redirect-from-http-rails-i18n-org-wiki-to-http-ruby-i18n-org-wiki/194163)

<div class="topic-metadata">

**Author:** [@Anatoly](https://www.ruby-forum.com/u/Anatoly)\
**Replies:** 0\
**Last updated:** [August 31, 2010, 12:42pm UTC](https://www.ruby-forum.com/t/redirect-from-http-rails-i18n-org-wiki-to-http-ruby-i18n-org-wiki/194163 "2010-08-31T12:42:08Z")

</div>

Redirect from http://rails-i18n.org/wiki fails to http://www.ruby-i18n.orgwiki/. Please, fix it. Good luck )

---

## [Form.collection\_select html escaping data from database](https://www.ruby-forum.com/t/form-collection-select-html-escaping-data-from-database/193903)

<div class="topic-metadata">

**Author:** [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Replies:** 3\
**Last updated:** [August 30, 2010, 11:18am UTC](https://www.ruby-forum.com/t/form-collection-select-html-escaping-data-from-database/193903 "2010-08-30T11:18:20Z")

</div>

I have french unicoded coded characters in my database. They use the ê format. When I use form.collection\_select it turns the & into & and then the french character is not displayed. How can I resolve this. Thanks …

---

## [Localizing dates](https://www.ruby-forum.com/t/localizing-dates/193833)

<div class="topic-metadata">

**Author:** [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Replies:** 4\
**Last updated:** [August 25, 2010, 6:03pm UTC](https://www.ruby-forum.com/t/localizing-dates/193833 "2010-08-25T18:03:48Z")

</div>

Hi How to localize the different methods in e.g. Date ? Tries to use Date.parse(str) with str in any language. I have a fix for my current problem, where str is a swedish date of the form 12 MAJ 1983; Date.parse(str…

---

## [Best Practices?](https://www.ruby-forum.com/t/best-practices/193841)

<div class="topic-metadata">

**Author:** [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Replies:** 1\
**Last updated:** [August 25, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/best-practices/193841 "2010-08-25T17:44:28Z")

</div>

I understand the practice of using yaml files for language translations for basic things like labels, links etc. But for large chunks of text that might contain a lot of markup for design etc what is the best way to o…

---

## [I18n v0.4.2](https://www.ruby-forum.com/t/i18n-v0-4-2/193777)

<div class="topic-metadata">

**Author:** [@lo\_pan](https://www.ruby-forum.com/u/lo_pan)\
**Replies:** 0\
**Last updated:** [August 24, 2010, 9:01am UTC](https://www.ruby-forum.com/t/i18n-v0-4-2/193777 "2010-08-24T09:01:58Z")

</div>

Hi, Can we get an i18n v0.4.2 gem before rails 3 is released? Thanks, Lawrence

---

## [Make a language selector for I18n UI](https://www.ruby-forum.com/t/make-a-language-selector-for-i18n-ui/193366)

<div class="topic-metadata">

**Author:** [@andresgutgon](https://www.ruby-forum.com/u/andresgutgon)\
**Replies:** 7\
**Last updated:** [August 18, 2010, 9:39am UTC](https://www.ruby-forum.com/t/make-a-language-selector-for-i18n-ui/193366 "2010-08-18T09:39:39Z")

</div>

Hello everyone, happy holidays if you are enjoying it right now. I would like to make a simple language selector like this: SELECTOR (current locale \[:es\]) Select Language: EspaÃ±ol | Catala | French Anyway, I’d lik…

---

## [Complex folder estructure inside locale translated](https://www.ruby-forum.com/t/complex-folder-estructure-inside-locale-translated/189772)

<div class="topic-metadata">

**Author:** [@andresgutgon](https://www.ruby-forum.com/u/andresgutgon)\
**Replies:** 14\
**Last updated:** [August 15, 2010, 11:28am UTC](https://www.ruby-forum.com/t/complex-folder-estructure-inside-locale-translated/189772 "2010-08-15T11:28:08Z")

</div>

Hello I’ve been watching these two projects \[1\] and \[2\]. Both look good. But I see it is not possible to have a complex structure inside the locale folder. The two projects caught the .yml and displayed in a web int…

---

## [Using Tolk with Google Translate](https://www.ruby-forum.com/t/using-tolk-with-google-translate/191778)

<div class="topic-metadata">

**Author:** [@Tokumine](https://www.ruby-forum.com/u/Tokumine)\
**Replies:** 1\
**Last updated:** [August 14, 2010, 9:48pm UTC](https://www.ruby-forum.com/t/using-tolk-with-google-translate/191778 "2010-08-14T21:48:15Z")

</div>

Quick writeup and video of my Tolk translation engine fork that uses the Google Translate API to provide sensible starting points for Rails i18n translations. http://www.tokumine.com/2010/07/18/using-tolk-with-google-…

---

## [Tolk with authlogic](https://www.ruby-forum.com/t/tolk-with-authlogic/193285)

<div class="topic-metadata">

**Author:** [@andresgutgon](https://www.ruby-forum.com/u/andresgutgon)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/tolk-with-authlogic/193285 "2010-08-14T20:05:49Z")

</div>

Is posible integrate Tolk with my autentication system (Authlogic)?

---

## [Use custom I18n messages in a model validation](https://www.ruby-forum.com/t/use-custom-i18n-messages-in-a-model-validation/193166)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 2\
**Last updated:** [August 12, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/use-custom-i18n-messages-in-a-model-validation/193166 "2010-08-12T17:34:48Z")

</div>

I would like to show custom translated error messages (based on the locale in the URL) for my validations. I have to following: validates :phone, :format =\> { :with =\> /^(0{2}|+)/, :message =\> I18n.t(‘validation.need\_…

---

## [I18n translators tools](https://www.ruby-forum.com/t/i18n-translators-tools/193058)

<div class="topic-metadata">

**Author:** [@pejuko](https://www.ruby-forum.com/u/pejuko)\
**Replies:** 3\
**Last updated:** [August 10, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/i18n-translators-tools/193058 "2010-08-10T16:27:48Z")

</div>

Hi, there is new tool for handling translation files. You can install it using command gem install i18n-translators-tools This package brings you useful utility and library which can help you to handle locale files…

---

## [I18n translators tools](https://www.ruby-forum.com/t/i18n-translators-tools/193057)

<div class="topic-metadata">

**Author:** [@pejuko](https://www.ruby-forum.com/u/pejuko)\
**Replies:** 1\
**Last updated:** [August 10, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/i18n-translators-tools/193057 "2010-08-10T15:32:44Z")

</div>

Hi, there is new tool for handling translation files. You can install it using command gem install i18n-translators-tools This package brings you useful utility and library which can help you to handle locale files…

---

## [Missing translation for activerecord error: taken (uniqueness)](https://www.ruby-forum.com/t/missing-translation-for-activerecord-error-taken-uniqueness/192832)

<div class="topic-metadata">

**Author:** [@QuBiT](https://www.ruby-forum.com/u/QuBiT)\
**Replies:** 1\
**Last updated:** [August 6, 2010, 6:58pm UTC](https://www.ruby-forum.com/t/missing-translation-for-activerecord-error-taken-uniqueness/192832 "2010-08-06T18:58:54Z")

</div>

Hi! I am using Rails3.0.0.rc and get an error which do not occur on Rails2.3.5 In my model I have: validates :title, :presence =\> true, :uniqueness =\> true when I start up the console and enter: x=Blog.new x.valid…

---

## [T() and 4 variables](https://www.ruby-forum.com/t/t-and-4-variables/192709)

<div class="topic-metadata">

**Author:** [@akyrho](https://www.ruby-forum.com/u/akyrho)\
**Replies:** 8\
**Last updated:** [August 4, 2010, 2:56pm UTC](https://www.ruby-forum.com/t/t-and-4-variables/192709 "2010-08-04T14:56:08Z")

</div>

Hi everyone, I am facing a weird issue with the translation helper. When i try to display a localized string with 4 variables, here what i get : my\_string: “We successfully add {{count}} credits available from {{sta…

---

## [How to test several locales in functional tests](https://www.ruby-forum.com/t/how-to-test-several-locales-in-functional-tests/191620)

<div class="topic-metadata">

**Author:** [@MickaSSSSl](https://www.ruby-forum.com/u/MickaSSSSl)\
**Replies:** 8\
**Last updated:** [July 19, 2010, 2:52pm UTC](https://www.ruby-forum.com/t/how-to-test-several-locales-in-functional-tests/191620 "2010-07-19T14:52:35Z")

</div>

Hi all, Yesterday I have overcome a mountain thank’s to Iain ( Exception is not raise with #t method on Rails 2.3.5 http://tinyurl.com/3yeoh34), so, it’s cool :wink: But now, I want to test every locales (for the mo…

---

## [Changed path while upgrade from 0.3.6 to 0.4.0](https://www.ruby-forum.com/t/changed-path-while-upgrade-from-0-3-6-to-0-4-0/191503)

<div class="topic-metadata">

**Author:** [@schubi](https://www.ruby-forum.com/u/schubi)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 4:17pm UTC](https://www.ruby-forum.com/t/changed-path-while-upgrade-from-0-3-6-to-0-4-0/191503 "2010-07-13T16:17:21Z")

</div>

Hi, for version 0.3.6 we have used: include I18n::Helpers::Gettext This path has been changed for version 0.4.0 to include I18n::Gettext::Helpers Is this a bug or a feature ? :slight\_smile: Cause the docu (comments…

---

## [Exception is not raise with #t method on Rails 2.3.5](https://www.ruby-forum.com/t/exception-is-not-raise-with-t-method-on-rails-2-3-5/191424)

<div class="topic-metadata">

**Author:** [@MickaSSSSl](https://www.ruby-forum.com/u/MickaSSSSl)\
**Replies:** 3\
**Last updated:** [July 12, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/exception-is-not-raise-with-t-method-on-rails-2-3-5/191424 "2010-07-12T17:36:46Z")

</div>

Hi folks, I have read some documentation about I18n and exceptions, but I need your help. My idea is to implement an exception when my functional test watch a missing translation like what I’m seeing in “Rails Inter…

---

## [I18n.t returns a empty hash when a translation is missing](https://www.ruby-forum.com/t/i18n-t-returns-a-empty-hash-when-a-translation-is-missing/191098)

<div class="topic-metadata">

**Author:** [@tdd](https://www.ruby-forum.com/u/tdd)\
**Replies:** 1\
**Last updated:** [July 5, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/i18n-t-returns-a-empty-hash-when-a-translation-is-missing/191098 "2010-07-05T12:26:10Z")

</div>

Hello, I’m migrating from rails 2.2.2 to rails 2.3.8 and I have a strange issue with I18n.translate. In rails 2.2.2 development, when I try to get an untranslated key I have a error like “Translation missing: \[…\]” I…

---

## [Translation of the rails](https://www.ruby-forum.com/t/translation-of-the-rails/190472)

<div class="topic-metadata">

**Author:** [@Adriano\_Dias\_da\_Sil](https://www.ruby-forum.com/u/Adriano_Dias_da_Sil)\
**Replies:** 9\
**Last updated:** [June 24, 2010, 12:39pm UTC](https://www.ruby-forum.com/t/translation-of-the-rails/190472 "2010-06-24T12:39:46Z")

</div>

Good night. I wonder if there is any translation of the rails to the Portuguese? Thank you.

---

## [Locale in namespaced routes](https://www.ruby-forum.com/t/locale-in-namespaced-routes/190414)

<div class="topic-metadata">

**Author:** [@Justin\_MacCarthy](https://www.ruby-forum.com/u/Justin_MacCarthy)\
**Replies:** 0\
**Last updated:** [June 19, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/locale-in-namespaced-routes/190414 "2010-06-19T16:52:29Z")

</div>

Hi, I want to add a locale to my admin routes , currently I have routes such as map.resources :gigs, :path\_prefix =\> ‘/:locale’ So /en/gigs etc works, now I want to do /en/admin/venues What can do to the following r…

---

## [Module for editing I18n translations in Netbeans](https://www.ruby-forum.com/t/module-for-editing-i18n-translations-in-netbeans/190390)

<div class="topic-metadata">

**Author:** [@svelhas](https://www.ruby-forum.com/u/svelhas)\
**Replies:** 0\
**Last updated:** [June 19, 2010, 12:23am UTC](https://www.ruby-forum.com/t/module-for-editing-i18n-translations-in-netbeans/190390 "2010-06-19T00:23:30Z")

</div>

Some time ago I wrote a plugin for Netbeans to make editing Rails i18n translation YAMLs a bit easier. Itâ€™s still quite basic but I plan to improve it. Feel free to comment, request features or submit patches if you…

---

## ["translation missing" errors in production, not in development](https://www.ruby-forum.com/t/translation-missing-errors-in-production-not-in-development/190015)

<div class="topic-metadata">

**Author:** [@Meike](https://www.ruby-forum.com/u/Meike)\
**Replies:** 0\
**Last updated:** [June 11, 2010, 11:42am UTC](https://www.ruby-forum.com/t/translation-missing-errors-in-production-not-in-development/190015 "2010-06-11T11:42:39Z")

</div>

Hello, I’ve got a similar problem to this one: http://groups.google.com/group/rails-i18n/browse\_thread/thread/cce36deb0fb6dab3/bef233bf198bfe8f?lnk=gst&q=production+development#bef233bf198bfe8f Tranlations are working…

---

## [Re: Rails 2.3 I18n and localized mailer templates](https://www.ruby-forum.com/t/re-rails-2-3-i18n-and-localized-mailer-templates/190011)

<div class="topic-metadata">

**Author:** [@n1k](https://www.ruby-forum.com/u/n1k)\
**Replies:** 0\
**Last updated:** [June 11, 2010, 11:16am UTC](https://www.ruby-forum.com/t/re-rails-2-3-i18n-and-localized-mailer-templates/190011 "2010-06-11T11:16:54Z")

</div>

Hi, is there any progress in this? I found it very uncomfortable to pass interpolation twice. Once in Mailer model and second time in mailer’s template to the I18n engine. This way with naming templates according to …

---

## [Removing apostrophe from possessive](https://www.ruby-forum.com/t/removing-apostrophe-from-possessive/189843)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 11\
**Last updated:** [June 10, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/removing-apostrophe-from-possessive/189843 "2010-06-10T15:45:07Z")

</div>

Hi, I’m using i.e. \<%= t :search\_users\_posts, :possessive =\> true %\> to get “Search user’s posts”. But what if the language I’m translating it to doesn’t use apostrophe, how do I translate such things / remove it? Th…

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

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