CSC/ECE 517 Fall 2018/E1866 Expertiza Internationalization: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 43: Line 43:
* [https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-url-params https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-url-params]
* [https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-url-params https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-url-params]
* [https://guides.rubyonrails.org/i18n.html#abstracting-localized-code https://guides.rubyonrails.org/i18n.html#abstracting-localized-code]
* [https://guides.rubyonrails.org/i18n.html#abstracting-localized-code https://guides.rubyonrails.org/i18n.html#abstracting-localized-code]
* [https://guides.rubyonrails.org/i18n.html#providing-translations-for-internationalized-strings https://guides.rubyonrails.org/i18n.html#providing-translations-for-internationalized-strings]
* [https://guides.rubyonrails.org/i18n.html#providing-translations-for-internationalized-strings https://guides.rubyonrails.org/i18n.html#providing-translations-for-internationalized-strings]
* [https://guides.rubyonrails.org/i18n.html#providing-translations-for-internationalized-strings https://guides.rubyonrails.org/i18n.html#providing-translations-for-internationalized-strings]
* [https://guides.rubyonrails.org/i18n.html#passing-variables-to-translations https://guides.rubyonrails.org/i18n.html#passing-variables-to-translations]
* [https://guides.rubyonrails.org/i18n.html#passing-variables-to-translations https://guides.rubyonrails.org/i18n.html#passing-variables-to-translations]

Revision as of 20:52, 12 November 2018

Introduction

Team Members

Jonathan Gill (jtgill@ncsu.edu)

Hasham Mukhtar (hmukhta@ncsu.edu)

Abhilasha Saini (asaini4@ncsu.edu)

Reddy Aravind Karnam Ganesh (rkarnam@ncsu.edu)

Relevant Files

config/locales

routes.rb

all view files

Project Description

Currently Expertiza only supports creating courses in the English language. Many Expertiza users are from other countries. We aim to allow instructors to create courses in other languages. This will be done by internationalizing static strings in Expertiza to another language (ex: Hindi or Chinese). Instructors will have the ability to change the language for a course in the Edit Course page through a dropdown. We will not be affecting any strings that are dynamically shown.

Project Design

Technical Design

Allowing instructor to change language for a course

  • We will add a language column to the Courses Table.
  • We will add a dropdown of languages to the Edit Course page for an instructor to use.
  • Below is what we expect to have it look:


Internationalizing Static Strings

Links/References