Organizing translations with I18n::Cascade and I18n::MissingTranslations

69 views
Skip to first unread message

Sven Fuchs

unread,
Feb 13, 2011, 8:15:08 AM2/13/11
to rails-i18n
I thought I'd drop you a note that I've written up a few things about what tools we are using to organize translations at work. I get asked these questions a lot so maybe it makes sense to spam the list with this :)

http://svenfuchs.com/2011/2/11/organizing-translations-with-i18n-cascade-and-i18n-missingtranslations

What other techniques/conventions do people apply?

Comments welcome!

Hans Marmolin

unread,
Feb 13, 2011, 9:50:45 AM2/13/11
to rails...@googlegroups.com
Hi
These advices are really good. I myself made the mistake to aim for DRY .yml files

I have an addition to the string class .to_local(key) that allows me to use my own coventions for key and that works really good
For example I have one enumeration.class.variable for enumerations and one key models and one key controllers etc 
Ialso have one key views to be DRY but I will now change that to the deafults in Rails 3 (i.e controller.view.word)

I also use a set of common flash messages for the common actions (sucess and failure)
Finally I use a method that stores translations of flash messages as
flash.controller.action.flash_key (ie. error_1,error_2..., success, warning etc)
____________________________________________
Hans Marmolin
St: Larsgatan 50, 58224 Linköping, Sweden









--
You received this message because you are subscribed to the Google Groups "rails-i18n" group.
To post to this group, send email to rails...@googlegroups.com.
To unsubscribe from this group, send email to rails-i18n+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en.

قصص عربية

unread,
Dec 29, 2013, 12:51:51 PM12/29/13
to rails...@googlegroups.com
منتديات توب عرب للمبدعين احساس منتديات عامة
افضل المنتديات العربية
<a href="http://www.top3rab.mrsaal.com" title="منتديات">منتديات</a>
<a href="http://www.top3rab.mrsaal.com/forumdisplay.php?f=14"
title="غرائب وعجائب">غرائب وعجائب</a>
<a href="http://www.top3rab.mrsaal.com/showthread.php?t=1285"
title="صور">صور</a>
<a href="http://www.top3rab.mrsaal.com/showthread.php?t=1285" title="صور
طبيعية">صور طبيعية</a>
<a href="http://www.top3rab.mrsaal.com/forumdisplay.php?f=41" title="صور
اطفال">صور اطفال</a>
<a href="http://www.top3rab.mrsaal.com/showthread.php?t=581" title="صور
اطفال">صور اطفال</a>
<a href="http://www.top3rab.mrsaal.com/showthread.php?t=2257" title="صور
رومانسية">صور رومانسية</a>
<a href="http://www.top3rab.mrsaal.com/showthread.php?t=2244" title="صور
مضحكة">صور مضحكة</a>
<a href="http://www.top3rab.mrsaal.com/showthread.php?t=2246" title="صور
سيارات">صور سيارات</a>
<a href="http://www.0yy.net" title="كم تاريخ اليوم">كم تاريخ اليوم</a>
<a href="http://www.0yy.net/kmalyoum/" title="كم تاريخ اليوم">كم تاريخ
اليوم</a>
<a href="http://0yy.net/calculate/ideal-weight.html" title="قياس الوزن
المثالي">قياس الوزن المثالي</a>
<a href="http://0yy.net/calculate/ideal-weight.html" title="حساب الوزن
المثالي">حساب الوزن المثالي</a>
<a href="http://0yy.net/calculate/saudi-newspapers-today.html"
title="صحف السعودية">صحف السعودية</a>
<a href="http://0yy.net/calculate/saudi-newspapers-today.html"
title="الصحف السعوديه اليوميه">الصحف السعوديه اليوميه</a>
<a href="http://0yy.net/calculate/saudi-newspapers-today.html"
title="جرائد السعودية">جرائد السعودية</a>
<a href="http://0yy.net/love-calculator-tester-meter-test/" title="love
calculator">love calculator</a>
<a href="http://0yy.net/love-calculator-tester-meter-test/" title="love
tester">love tester</a>
<a href="http://0yy.net/love-calculator-tester-meter-test/" title="love
meter">love meter</a>
<a
href="http://0yy.net/photoshop-online-editor-editing-photo/edit-photos-online.html"
title="photo editor online">photo editor online</a>
<a
href="http://0yy.net/photoshop-online-editor-editing-photo/edit-photos-online.html"
title="online photoshop">online photoshop</a>
<a
href="http://0yy.net/photoshop-online-editor-editing-photo/edit-photos-online.html"
title="edit photos online">edit photos online</a>
<a href="http://0yy.net/calculate/tafsir-ibnkathir-quran.html"
title="تفسير ابن كثير">تفسير ابن كثير</a>
<a href="http://0yy.net/calculate/tafsir-ibnkathir-quran.html"
title="تفسير ابن كثير pdf">تفسير ابن كثير pdf</a>
<a href="http://0yy.net/calculate/tafsir-ibnkathir-quran.html"
title="مختصر تفسير ابن كثير">مختصر تفسير ابن كثير</a>
<a href="http://0yy.net/calculate/book-dreams-ibnsirin.html"
title="تفسير الاحلام لابن سيرين">تفسير الاحلام لابن سيرين</a>
<a href="http://0yy.net/calculate/book-dreams-ibnsirin.html" title="كتاب
تفسير الاحلام">كتاب تفسير الاحلام</a>
<a href="http://0yy.net/calculate/download-photoshop-arabic.html"
title="تحميل برنامج فوتوشوب عربى cs6">تحميل برنامج فوتوشوب عربى cs6</a>
<a href="http://0yy.net/calculate/download-photoshop-arabic.html"
title="تنزيل برنامج فوتوشوب">تنزيل برنامج فوتوشوب</a>
<a href="http://0yy.net/calculate/date-birth.html" title="حساب موعد
الولادة">حساب موعد الولادة</a>
<a href="http://0yy.net/calculate/date-birth.html" title="حساب موعد
الولادة بدقة">حساب موعد الولادة بدقة</a>
<a href="http://0yy.net/calculate/date-birth.html" title="حساب الحمل
بالاسابيع">حساب الحمل بالاسابيع</a>
<a href="http://www.arab-stories.com/" title="قصص عربية">قصص عربية</a>
<a href="http://www.arab-stories.com/category/children-story" title="قصص
اطفال">قصص اطفال</a>
<a href="http://www.arab-stories.com/category/stories-forgiveness"
title="قصص الاستغفار">قصص الاستغفار</a>
<a href="http://www.arab-stories.com/category/stories-prophets"
title="قصص الانبياء">قصص الانبياء</a>
<a href="http://www.arab-stories.com/category/jinn-stories" title="قصص
جن">قصص جن</a>
<a href="http://www.arab-stories.com/category/love-stories/" title="قصص
حب">قصص حب</a>
<a href="http://www.arab-stories.com/category/sad-stories/" title="قصص
حزينه"> قصص حزينه</a>
<a href="http://www.arab-stories.com/category/horror-stories/"
title="قصص رعب">قصص رعب</a>
<a href="http://www.arab-stories.com/category/funny-stories/" title="قصص
مضحكة">قصص مضحكة</a>
<a href="http://www.arab-stories.com/category/stories-across/"
title="ققصص وعبر">قصص وعبر</a>

--
Posted via http://www.ruby-forum.com/.

Reply all
Reply to author
Forward
0 new messages