{"id":22831558,"url":"https://github.com/phrase/i18n-beginner-tutorial-rails","last_synced_at":"2026-02-14T08:02:53.029Z","repository":{"id":150336927,"uuid":"203144948","full_name":"phrase/i18n-beginner-tutorial-rails","owner":"phrase","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-21T13:19:35.000Z","size":253,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-31T01:51:14.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phrase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-19T09:49:10.000Z","updated_at":"2021-09-24T10:02:28.000Z","dependencies_parsed_at":"2023-04-04T15:02:01.365Z","dependency_job_id":null,"html_url":"https://github.com/phrase/i18n-beginner-tutorial-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phrase/i18n-beginner-tutorial-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Fi18n-beginner-tutorial-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Fi18n-beginner-tutorial-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Fi18n-beginner-tutorial-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Fi18n-beginner-tutorial-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phrase","download_url":"https://codeload.github.com/phrase/i18n-beginner-tutorial-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrase%2Fi18n-beginner-tutorial-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273817348,"owners_count":25173591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T20:26:33.747Z","updated_at":"2025-10-07T13:32:33.220Z","avatar_url":"https://github.com/phrase.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started with Phrase and Github - Ruby on Rails example\nThis Repository provides examples on how to use Phrase in general and the integration with github.\n\n# What we want to achieve\n- You will run a simple app on your machine\n- You will learn how to internationalize that app\n- You will learn how to integrate Phrase\n\n# [System setup and first steps](https://www.youtube.com/watch?v=GOSpulJgoPU)\n## Installation of necessary tools\n- [Sublime - Texteditor](https://www.sublimetext.com/)\n- [Homebrew - Packagemanager for Linux/MacOs](https://brew.sh/)\n- Install git with homebrew by running -\u003e `$brew install git`\n- Install gpg with homebrew by running -\u003e `$brew install gpg`\n- [RVM -Ruby Version manager](https://rvm.io/)\n  - If you run into problems with installing rvm especially with the\n    GPG Keys, please follow the security instructions on the rvm page\n- Install the correct Ruby version with rvm by running -\u003e` $rvm install 2.4.1`\n\n\n# Run the Application on your machine\n\n## Get the Source code\n\u003e We will use this [Github Repository](https://github.com/docstun/lunchroulette) as an example\n\n1. Create a folder via the Terminal on your Desktop\n    * ` $cd Desktop`\n    * `$mkdir phrase_playground`\n\n2. Navigate into the folder\n    * `$cd phrase_playground`\n\n3. Clone the Lunchroulette Repo from Github\n    * `$git clone https://github.com/docstun/lunchroulette.git`\n\n## Get the Web Application up and running\n### Set up the environment for the App\n\n1. Install Bundler -\u003e Dependency Manger for Ruby on Rails\n    * `$gem install bundler`\n2. Install all gems\n    * `$bundle install`\n\n### Get the App running\n\n1. Initialize the Database\n    * `$rails db:setup`\n\n2. Start the Server\n    * `$rails server`\n\n3. [Open App in your browser](http://localhost:3000)\n\n\n# Short indroduction to the Ruby on Rails environment\n\u003e For a short introduction to the Ruby on Rails structure, please view the\n\u003e short [video](https://vimeo.com/352687324/fc6c93f6130) we provided.\n\n\u003e [For a deeper introduction of Ruby on Rails structure we suggested\nthis video](https://gorails.com/episodes/rails-application-structure)\n\n\n# Localizing the App\n## [Introduction to i18n](https://www.youtube.com/watch?v=7dAZ0kXLGmI)\n\n## [Implement I18n into your codebase](https://vimeo.com/352687282/5952575eb4)\n1. Add basic configuration to your `./app/controllers/application_controller.rb`\n    ![application\ncontroller](https://github.com/phrase/i18n-beginner-tutorial-rails/blob/master/assets/carbon.png)\n\n2. Set the languages in your `./config/initializers/locale.rb`\n    ![setting\nlanguages](https://github.com/phrase/i18n-beginner-tutorial-rails/blob/master/assets/language.png)\n\n\n# Connecting the project to Phrase\n## Install the Phrase CLI\n  Run the following commands in your Terminal\n  1. `$brew tap phrase/brewed`\n  2. `$brew install phraseapp`\n\n## Phrase CLI Setup\n  Run the following commands in your Terminal\n  1. `$phraseapp init`\n  2. You will then be asked to provide an access token, which  you can\n     create in the Phrase UI and copy/paste it into your Terminal\n  3. Follow further instructions to setup a new project or choose an\n     already existing project.\n  4. When you get asked for the path just press enter, in our case the\n     CLI already has got the right path.\n  5. All done?! Run your first `$phraseapp push`\n  6. Play around in the Phrase UI and get all the changes with\n     `$phraseapp pull`\n\n\n\u003e [**For futher information/ integrations also see our documentation\nhere**](https://help.phrase.com/en/?cjs=X2dhPUdBMS4yLjIwNzQ1NDA2NTguMTU1NDExNTIzNTsgaHVic3BvdHV0az1jZTM4MjM3MTFhODZjOWRjMDcyMmIzOGM1OWRkY2E2NDsgbWVzc2FnZXNVdGs9MTRkZTQwOGVkODg0NGIxM2JiNTg3ZmFlMmFmNGZhYjA7IF9mYnA9ZmIuMS4xNTU0MTkwNzU1OTkyLjQ0OTQ1MjY5NjsgX19hZHJvbGxfZnBjPWVjMWU5NjdmZTY1Y2FmNjI5ODk4ZmRhZDQzZDZmYzQwLXMyLTE1NTQxOTEwMzIxODE7IF9wYV92aWQ9MWVncDR0ai1uZnVnLW5tc29sbDsgX2hqaWQ9OTA3MWZlZTAtZTA1ZC00ZDRlLWI5MjgtNDgxMjE3ODg3ZWE1OyBfcGFfaWlkPW9mazdvMG80OyBfX2hzdGM9MjY2MzM3NTUyLmNlMzgyMzcxMWE4NmM5ZGMwNzIyYjM4YzU5ZGRjYTY0LjE1NTQxMTUyMzYwMDIuMTU2MzUyMzM3OTg3OS4xNTYzNTMxMDczNDAyLjIwMjsgX19hcl92ND1TVldYRDRGUVFCREtaQVRDUU9XNkZaJTNBMjAxOTA3MTclM0ExJTdDSElWTTZBQVFFRkJGRkdETERQR1FQSyUzQTIwMTkwNzAxJTNBMjQxJTdDV1BUQUVNQVJXSkZJVkZRSUtQTUNCRCUzQTIwMTkwNzAxJTNBMjQ0JTdDTElJRElSSkIzQkdVVkcyREc2TVNDNyUzQTIwMTkwNzAxJTNBMjQ0JTdDVklGSDJJWlVTVkdaRkk0VFBWTlAzVSUzQTIwMTkwNzE3JTNBMQ%3D%3D)\n\n## Get help / support\n\nPlease contact [support@phrase.com](mailto:support@phrase.com?subject=[GitHub]%20) and we can take more direct action toward finding a solution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrase%2Fi18n-beginner-tutorial-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrase%2Fi18n-beginner-tutorial-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrase%2Fi18n-beginner-tutorial-rails/lists"}