{"id":21835754,"url":"https://github.com/vtex/intl-equalizer","last_synced_at":"2025-04-14T09:16:01.947Z","repository":{"id":38360335,"uuid":"154724774","full_name":"vtex/intl-equalizer","owner":"vtex","description":"👯‍♂️","archived":false,"fork":false,"pushed_at":"2023-07-19T02:45:12.000Z","size":1220,"stargazers_count":11,"open_issues_count":18,"forks_count":2,"subscribers_count":134,"default_branch":"master","last_synced_at":"2024-11-01T18:16:08.369Z","etag":null,"topics":["srv-store-framework","xp-developer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/vtex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-25T19:16:24.000Z","updated_at":"2023-02-27T11:52:05.000Z","dependencies_parsed_at":"2024-06-18T21:30:26.873Z","dependency_job_id":"5a7b70cc-fd78-43e3-8375-0d093d4826b1","html_url":"https://github.com/vtex/intl-equalizer","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fintl-equalizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fintl-equalizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fintl-equalizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fintl-equalizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/intl-equalizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226816150,"owners_count":17686613,"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":["srv-store-framework","xp-developer"],"created_at":"2024-11-27T20:24:22.841Z","updated_at":"2024-11-27T20:24:23.481Z","avatar_url":"https://github.com/vtex.png","language":"JavaScript","readme":"# 👯‍♂️ Intl-Equalizer\n\nA VTEX CLI for linting locale string files\n\nEasy tool to compare between locale files and find missing keys\n\n# Installation\n\nInstall Intl-Equalizer using yarn:\n\n`yarn add --dev @vtex/intl-equalizer`\n\nOr via npm:\n\n`npm install --save-dev @vtex/intl-equalizer`\n\n# Configuration\n\n**1)** Add a new script to your package.json:\n\n```json\n\"scripts\": {\n  \"lint:locales\": \"intl-equalizer\"\n}\n```\n\n**2)** And Intl-Equalizer config in your `package.json` if you need to change the default values:\n\n```\n// package.json\n{\n  \"intl-equalizer\": {\n    \"referenceLocale\": \"pt\",\n    \"localeDirectory\": \"src/locales/\",\n    \"filesToIgnore\": [\"context.json\"]\n  }\n}\n```\n\n\u003e `referenceLocale` default value is `'en'`\n\n\u003e `localeDirectory` default value is `'/messages'`\n\n\u003e `filesToIgnore` default value is an empty array`\n\n# Optional Commands\n\n## Fix\n\nCommand to fix the order of the locale keys based on the `referenceLocale`\n\n```\nintl-equalizer --fix\n```\n\n## All\n\nUsing `intl-equalizer --all`, or its shorthand `intl-equalizer -a`, will override the fail-fast behavior and instead list all errors.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fintl-equalizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fintl-equalizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fintl-equalizer/lists"}