{"id":17003919,"url":"https://github.com/cldwalker/ripl-i18n","last_synced_at":"2025-04-19T11:55:34.072Z","repository":{"id":56892355,"uuid":"1694925","full_name":"cldwalker/ripl-i18n","owner":"cldwalker","description":"A ripl plugin that let's ripl speak your language","archived":false,"fork":false,"pushed_at":"2012-02-24T07:59:07.000Z","size":1008,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T01:09:26.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cldwalker.png","metadata":{"files":{"readme":"README.rdoc","changelog":"CHANGELOG.rdoc","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-03T06:19:59.000Z","updated_at":"2014-01-20T14:24:14.000Z","dependencies_parsed_at":"2022-08-21T01:20:50.718Z","dependency_job_id":null,"html_url":"https://github.com/cldwalker/ripl-i18n","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fripl-i18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fripl-i18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fripl-i18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldwalker%2Fripl-i18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cldwalker","download_url":"https://codeload.github.com/cldwalker/ripl-i18n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249689857,"owners_count":21311307,"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-14T04:33:16.235Z","updated_at":"2025-04-19T11:55:34.053Z","avatar_url":"https://github.com/cldwalker.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"== Description\nA ripl plugin that translates ripl to your preferred language. Current supported languages:\nspanish, chinese, german, portuguese, japanese.\n\n== Usage\n\nAdd to your ~/.riplrc:\n\n    require 'ripl/i18n'\n\nIf a locale exists for your language and is set via your shell variable $LANG,\nthis plugin automatically uses it. Otherwise, explicitly set your language with:\n\n    # :es maps to es.yml\n    Ripl.config[:i18n_locale] = :es\n\nIf you want to load and use your own locale:\n\n    Ripl::I18n.load 'path/to/my_lang.yml'\n    Ripl.config[:i18n_locale] = :my_lang\n\nOnce you've configured a locale, all messages, errors and even help will print in\nthat locale's language. For example, ripl's help in german:\n\n    $ LANG=de ripl -h\n    Benutzung: ripl [BEFEHL] [ARGUMENTE] [OPTIONEN]\n\n    Optionen:\n      -f                  Unterdrücke Laden von ~/.irbrc\n      -F                  Unterdrücke Laden von ~/.riplrc\n      -d, --debug         Setze $DEBUG auf wahr (wie `ruby -d')\n      -I PATH             Pfad an den Anfang des $LOAD_PATH hinzufügen. Begrenze mehrfache Pfade mit ':'\n      -r, --require FILE  Lade Datei mittels \"require\" (wie `ruby -r')\n      -v, --version       Gib Version aus\n      -h, --help          Gib Hilfe aus\n\n== Contribute Your Language\n\nAs I would like to make ripl available in as many languages as possible,\nplease add your own! Here's all you have to do:\n\n* Fork this project.\n* Create a .yml file under lib/ripl/i18n/locales/ for your language.\n  If you're not sure what locale to use for your language, {see\n  some examples}[https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale].\n* Be sure to translate all the keys in lib/ripl/i18n/locales/en.yml.\n\n== Credits\n* janlelis for auto locale + german translation\n* godfat for chinese translation\n* mephistobooks for japanese translation\n\n== Inspiration\nhttp://yugui.jp/articles/863\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldwalker%2Fripl-i18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcldwalker%2Fripl-i18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldwalker%2Fripl-i18n/lists"}