DEV Community

Syed Daanish
Syed Daanish

Posted on

CineCue - A seamless localization demo with RoR.

CineCue

CineCue is a demo Ruby on Rails web app that lets you explore movies by genre in multiple languages, all powered by Tolgee for seamless localization.

Nowadays, even with such advanced globalization we encounter a problem in distributing software across the globe - localization - As people from around the world speak different languages we need to create software that can be easily translated to increase our reach.

One of the best tools for this type of localization across multiple domains - web development, mobile application development, etc. - is tolgee.

This project is based on tolgee and is a demo for seamless localization with tolgee.

Screenshots

Image description

Image description

Image description

Features

  • Localized Movie Search: Find the perfect movie for any mood in one of seven languages: English, Turkish, Spanish, French, Arabic, Hindi, and Urdu.
  • Genre-Based Recommendations: Search and filter movies by genre for quick and relevant suggestions.
  • Tolgee Integration: Provides real-time localization, making CineCue accessible for global users.
  • User-Friendly Interface: Clean, responsive, and intuitive design for easy browsing.
  • Dynamic Content Updates: The latest movies and recommendations, refreshed for a tailored experience every time using the TMDb API.

Technologies Used

  • Ruby on Rails: The backbone of CineCue, enabling robust and scalable application development.
  • Tolgee: Open-source localization framework for streamlined translations and multi-language support.
  • TMDb API: Provides the latest movie data, enabling real-time genre-based recommendations and up-to-date information.

Installation

  1. Clone the Repository: clone the tolgee repo and see the demo under the folder demos/CineCue

  2. Install Dependancies:

    bundle install
    
  3. Set Up TMDb API Key:

    • Sign up for an API key on The Movie Database (TMDb).
    • Add the API key to the app/controllers/movies_controller.rb file in the @@api_key variable on the 6ᵗʰ line.
  4. Set Up Tolgee API Key:

    • Sign up for an API key on tolgee.io
    • Start a new project and upload the .json files from the folder tolgee-json into the project.
    • Add the API key to the app/controllers/application_controller.rb file in the api_key variable on the 11ᵗʰ line.
    • Add the Project ID to the app/controllers/application_controller.rb file in the project_id variable on the 12ᵗʰ line.
  5. Migrate Database:

    rails db:migrate
    
  6. Run the App:

    rails server
    
  7. Access the App:


PS: This is my first time working with open source projects and writing an article related to programming so I am open to being corrected if I could do anything better.

PS: check out my website (personal portfolio) at sixzix.com

Top comments (1)

Collapse
 
marketa_c profile image
Marketa Cizmar

Great first contribution! 🙌 Congrats and happy Hacktoberfest!