{"id":31757023,"url":"https://github.com/teamstarter/i18next-ai-translator","last_synced_at":"2025-10-09T19:46:49.801Z","repository":{"id":316386800,"uuid":"1063151044","full_name":"teamstarter/i18next-ai-translator","owner":"teamstarter","description":"Fill un-translated keys of i18next language bundles using reference knowledge files.","archived":false,"fork":false,"pushed_at":"2025-10-03T09:11:50.000Z","size":95,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-10-03T11:28:15.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teamstarter.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T08:31:09.000Z","updated_at":"2025-09-30T13:27:12.000Z","dependencies_parsed_at":"2025-09-25T23:00:30.559Z","dependency_job_id":null,"html_url":"https://github.com/teamstarter/i18next-ai-translator","commit_stats":null,"previous_names":["teamstarter/i18next-ai-translator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teamstarter/i18next-ai-translator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamstarter%2Fi18next-ai-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamstarter%2Fi18next-ai-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamstarter%2Fi18next-ai-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamstarter%2Fi18next-ai-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teamstarter","download_url":"https://codeload.github.com/teamstarter/i18next-ai-translator/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamstarter%2Fi18next-ai-translator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001960,"owners_count":26083244,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-09T19:46:45.081Z","updated_at":"2025-10-09T19:46:49.795Z","avatar_url":"https://github.com/teamstarter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i18next-ai-translator\nFill un-translated keys of i18next language bundles using reference knowledge files.\n\n# Basic usage\n\nCall the script with npx, it will replace the untranslated keys with a translation\n\n```sh\nexport I18NEXT_AI_TRANSLATOR_CHAT_GPT_API_KEY=xxxxxxxxx\nnpx i18next-ai-translator ./myLocalesFolder\n```\n\n# Using.env\n\nYou can fill a I18NEXT_AI_TRANSLATOR_CHAT_GPT_API_KEY in your .env instead of exporting it.\n\n```sh\nnpx i18next-ai-translator ./myLocalesFolder\n```\n\n# Using a reference file\n\n```sh\nexport I18NEXT_AI_TRANSLATOR_REFERENCE_FILE=./documentation/myreference.md\nnpx i18next-ai-translator ./myLocalesFolder\n```\n\n# Using a reference file per bundle\n\nYou can specify a bundle, containing .md files named like the bundle. Ex: admin.fr -\u003e admin.md\n\nSo your reference files can be saved that way:\n\n./documentation/myReference.md\n./documentation/bundleReferences/admin.md\n./documentation/bundleReferences/default.md\n./documentation/bundleReferences/login.md\n./documentation/bundleReferences/platform.md\n\n\n```sh\nexport I18NEXT_AI_TRANSLATOR_REFERENCE_FILE=./documentation/myreference.md\nexport I18NEXT_AI_TRANSLATOR_BUNDLE_REFERENCE_FOLDER=./documentation/bundleReferences/\nnpx i18next-ai-translator ./myLocalesFolder\n```\n\n# Using custom default values\n\nYou can specify a i18nextScanner.config.js to extract automatically the name of the defaultValue (__STRING_NOT_TRANSLATED__ by default)\n\n```sh\nexport I18NEXT_AI_TRANSLATOR_CONFIG=./config/.i18nextScanner.config.js\nnpx i18next-ai-translator ./myLocalesFolder\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamstarter%2Fi18next-ai-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamstarter%2Fi18next-ai-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamstarter%2Fi18next-ai-translator/lists"}