قد يكون من السهل (حقا)وهذا دليل بسيط من العناصر الرئيسية المطلوبة لتنفيذ الكامل للتوطين في Ruby on Rails.
يتم تمرير تلقائيا لغة مختارة إلى التطبيق في عنوان كل طلب ، ولكن لا يتطلب تحديد واضح للغة داخل طرق مسمى ، أو session[]. وبمجرد اختيار الإعداد لغة ، ويعمل فقط. With Wordchuck coordinating the translation of your website's content as it expands and changes you can offer 20+ languages with the same work it takes to offer 2. Setup your project with Wordchuck, indicate which languages you want to support, and generate your site's locale files as needed with the Wordchuck Ruby gem. Once you are presenting content from locale files, not views, it all just works.
|
||||
| ||||