{"id":20458192,"url":"https://github.com/thompsonsj/payload-crowdin-sync","last_synced_at":"2026-03-16T16:08:45.230Z","repository":{"id":154617367,"uuid":"632087919","full_name":"thompsonsj/payload-crowdin-sync","owner":"thompsonsj","description":"Upload and sync localized fields from the default locale to Crowdin.","archived":false,"fork":false,"pushed_at":"2025-03-17T14:20:01.000Z","size":4293,"stargazers_count":8,"open_issues_count":17,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T12:38:06.194Z","etag":null,"topics":["payload-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thompsonsj.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-24T17:24:40.000Z","updated_at":"2025-03-17T14:20:05.000Z","dependencies_parsed_at":"2024-01-17T11:48:53.377Z","dependency_job_id":"5a04d4d8-0492-4aeb-aa5e-1833650c1479","html_url":"https://github.com/thompsonsj/payload-crowdin-sync","commit_stats":null,"previous_names":[],"tags_count":170,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompsonsj%2Fpayload-crowdin-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompsonsj%2Fpayload-crowdin-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompsonsj%2Fpayload-crowdin-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thompsonsj%2Fpayload-crowdin-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thompsonsj","download_url":"https://codeload.github.com/thompsonsj/payload-crowdin-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670514,"owners_count":21142898,"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":["payload-plugin"],"created_at":"2024-11-15T12:11:10.907Z","updated_at":"2025-10-04T21:30:01.177Z","avatar_url":"https://github.com/thompsonsj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Payload Crowdin Sync\n\nAutomatically upload/sync localized fields from the default locale to Crowdin. Make these fields read-only in other locales and update them using Crowdin translations.\n\n- Plugin docs: [plugin/README.md](plugin/README.md)\n- Payload test installation: [dev](dev)\n- Payload test installation (alternative config): [dev-alternative-config](dev-alternative-config)\n- NX generated docs: [docs/nx.md](docs/nx.md)\n\n## Quick start\n\n```\nnpm install payload-crowdin-sync\n```\n\nAdd the plugin to your Payload configuration.\n\n```ts\nimport { crowdinSync } from \"payload-crowdin-sync\";\n\nexport default buildConfig({\n  plugins: [\n    crowdinSync({\n      projectId: 323731,\n      token: process.env.CROWDIN_TOKEN,\n      organization: process.env.CROWDIN_ORGANIZATION,\n      localeMap: {\n        de_DE: {\n          crowdinId: \"de\",\n        },\n        fr_FR: {\n          crowdinId: \"fr\",\n        },\n      },\n      sourceLocale: \"en\",\n    }),\n  ],\n  // The rest of your config goes here\n});\n```\n\nOn save draft or publish, content from [localized fields](https://payloadcms.com/docs/configuration/localization) in [Collections](https://payloadcms.com/docs/configuration/collections) and/or [globals](https://payloadcms.com/docs/configuration/globals) is organised into directories and files within a `Payload CMS` directory (configurable) in your Crowdin project.\n\n\u003cimg width=\"1000\" alt=\"Screenshot 2024-02-06 at 22 02 38\" src=\"https://github.com/thompsonsj/payload-crowdin-sync/assets/44806974/2c31050d-fee4-4275-bca2-7e4b48743999\"\u003e\n\nTo load translations into Payload CMS, check the `Sync all translations` checkbox on a given collection document/global and save draft (loads translations as draft) or publish.\n\n\u003cimg width=\"766\" alt=\"Screenshot 2024-02-06 at 22 08 48\" src=\"https://github.com/thompsonsj/payload-crowdin-sync/assets/44806974/2aa9c493-7792-422f-bf8d-a91c23893682\"\u003e\n\n## Monorepo scripts\n\n### Test\n\nRun all tests.\n\n- The `plugin` package contains unit tests.\n- Both the `dev` and `dev-alternative-config` packages contain integration tests run against Payload installations.\n\n```\nnpm run test\n```\n\n### Release\n\nBuild the plugin, change to the plugin directory and run `npm publish`.\n\n```\nnpm run release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthompsonsj%2Fpayload-crowdin-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthompsonsj%2Fpayload-crowdin-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthompsonsj%2Fpayload-crowdin-sync/lists"}