{"id":28695983,"url":"https://github.com/creasty/i18n_flow","last_synced_at":"2025-06-14T09:09:10.222Z","repository":{"id":56877123,"uuid":"119388208","full_name":"creasty/i18n_flow","owner":"creasty","description":"[beta] Manage translation status in YAML file","archived":false,"fork":false,"pushed_at":"2020-06-15T07:38:42.000Z","size":157,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T07:53:57.958Z","etag":null,"topics":["i18n","rails","ruby","translation-management"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/i18n_flow","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/creasty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-29T13:47:39.000Z","updated_at":"2019-12-10T06:07:45.000Z","dependencies_parsed_at":"2022-08-20T11:30:50.163Z","dependency_job_id":null,"html_url":"https://github.com/creasty/i18n_flow","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/creasty/i18n_flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creasty%2Fi18n_flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creasty%2Fi18n_flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creasty%2Fi18n_flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creasty%2Fi18n_flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creasty","download_url":"https://codeload.github.com/creasty/i18n_flow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creasty%2Fi18n_flow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259790462,"owners_count":22911549,"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":["i18n","rails","ruby","translation-management"],"created_at":"2025-06-14T09:09:09.757Z","updated_at":"2025-06-14T09:09:10.216Z","avatar_url":"https://github.com/creasty.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://user-images.githubusercontent.com/1695538/36350808-d0cf8afe-14e1-11e8-8afb-34a316f98f80.png)\n\ni18n_flow (beta)\n================\n\n[![Build Status](https://travis-ci.org/creasty/i18n_flow.svg?branch=master)](https://travis-ci.org/creasty/i18n_flow)\n[![License](https://img.shields.io/github/license/creasty/i18n_flow.svg)](./LICENSE)\n\n**Manage translation status in YAML file.**\u003cbr\u003e\nWith an official [tag](http://www.yaml.org/spec/1.2/spec.html#id2784064) feature, `i18n_flow` enables you to annotate status information directly in YAML file.\n\n![](https://user-images.githubusercontent.com/1695538/36359417-6a976054-155e-11e8-914b-d6a10a8287fc.png)\n\n- [Lint rules](./doc/rules.md)\n- [Tags](./doc/tags.md)\n\n\nSetup\n-----\n\n### Installation\n\nAdd this line to your Gemfile:\n\n```ruby\ngem 'i18n_flow'\n\n# To use the latest version:\ngem 'i18n_flow', github: 'creasty/i18n_flow'\n```\n\n### Configuration\n\nCreate a configuration file at your project's root directory.\n\n```sh-session\n$ cat \u003e i18n_flow.yml\nbase_path: config/locales\nglob_patterns:\n  - '**/*.yml'\nvalid_locales:\n  - en\n  - ja\nlocale_pairs:\n  - ['en', 'ja']\n^D\n```\n\n\nCLI\n---\n\n```sh-session\n$ i18n_flow\nManage translation status in yaml file\n\nUsage:\n    i18n_flow COMMAND [args...]\n    i18n_flow [options]\n\nOptions:\n    -v, --version    Show version\n    -h               Show help\n\nCommands:\n    lint       Validate files\n    format     Format and correct errors\n    search     Search contents and keys\n    copy       Copy translations and mark as todo\n    split      Split a file into proper-sized files\n    version    Show version\n    help       Show help\n```\n\n\nConfiguration file\n------------------\n\n```yaml\n# Base directory\n# Default: pwd\nbase_path: config/locales\n\n# Patterns for locale YAML files\n# Default: ['*.en.yml']\nglob_patterns:\n  - '**/*.yml'\n\n# List of all supporting locales\n# May want to sync with `I18n.available_locales`\n# Default: ['en']\nvalid_locales:\n  - en\n  - ja\n\n# List of master-foreign pairs\n# Used by the linter to check symmetry\n# Default: []\nlocale_pairs:\n  - ['en', 'ja']\n\n# Enabled linters\n# Default\nlinters:\n  - file_scope\n  - symmetry\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreasty%2Fi18n_flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreasty%2Fi18n_flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreasty%2Fi18n_flow/lists"}