{"id":16068254,"url":"https://github.com/tegon/game-translator","last_synced_at":"2026-04-21T15:03:59.886Z","repository":{"id":9527206,"uuid":"11427557","full_name":"tegon/game-translator","owner":"tegon","description":"Interface para traduzir games para vários idiomas, usando o Globalize3.","archived":false,"fork":false,"pushed_at":"2014-02-21T14:41:10.000Z","size":1831,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T23:32:48.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"game-translator.herokuapp.com","language":"Ruby","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/tegon.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}},"created_at":"2013-07-15T16:13:05.000Z","updated_at":"2022-08-17T14:03:36.000Z","dependencies_parsed_at":"2022-09-22T17:12:06.043Z","dependency_job_id":null,"html_url":"https://github.com/tegon/game-translator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tegon%2Fgame-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tegon%2Fgame-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tegon%2Fgame-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tegon%2Fgame-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tegon","download_url":"https://codeload.github.com/tegon/game-translator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243004121,"owners_count":20220237,"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","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-10-09T06:20:29.692Z","updated_at":"2026-04-21T15:03:59.832Z","avatar_url":"https://github.com/tegon.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"GameTranslator\n--------------\n\nYou can change attributes in specific locales calling the method like this:\n```ruby\nattribute_locale\n```\nFor example, change name in English(en)\n```ruby\nGame.first.name\n=\u003e \"Jogo 1\"\nGame.first.update_attribute(:name_en, 'Game 1')\n=\u003e \"Game 1\"\n```\nNow if you change the actual locale\n```ruby\nI18n.locale = :en\n```\nIt will return the name in English\n```ruby\nGame.first.name\n=\u003e \"Game 1\"\n```\nYou can also call this way\n```ruby\nGame.first.name_en\n=\u003e \"Game 1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftegon%2Fgame-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftegon%2Fgame-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftegon%2Fgame-translator/lists"}