{"id":18267460,"url":"https://github.com/freaktechnik/transifex-loader","last_synced_at":"2025-04-04T22:30:36.001Z","repository":{"id":10354904,"uuid":"65468787","full_name":"freaktechnik/transifex-loader","owner":"freaktechnik","description":"A loader, that fetches the content of string files from transifex.","archived":false,"fork":false,"pushed_at":"2025-03-27T11:58:22.000Z","size":3351,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T12:38:49.792Z","etag":null,"topics":["i18n","internationalization","l10n","loader","localization","transifex","webpack-loader"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/transifex-loader","language":"JavaScript","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/freaktechnik.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}},"created_at":"2016-08-11T12:47:32.000Z","updated_at":"2025-03-27T11:58:24.000Z","dependencies_parsed_at":"2023-12-16T23:50:21.196Z","dependency_job_id":"5e8435f6-3fd9-4a76-93ba-bcefdcee733f","html_url":"https://github.com/freaktechnik/transifex-loader","commit_stats":{"total_commits":401,"total_committers":7,"mean_commits":"57.285714285714285","dds":0.541147132169576,"last_synced_commit":"8a76813abf8ca851b30a35bdf144f49eca22b9bb"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftransifex-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftransifex-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftransifex-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freaktechnik%2Ftransifex-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freaktechnik","download_url":"https://codeload.github.com/freaktechnik/transifex-loader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247260259,"owners_count":20909967,"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","internationalization","l10n","loader","localization","transifex","webpack-loader"],"created_at":"2024-11-05T11:27:28.817Z","updated_at":"2025-04-04T22:30:35.417Z","avatar_url":"https://github.com/freaktechnik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# transifex-loader\n\n[![codecov](https://codecov.io/gh/freaktechnik/transifex-loader/graph/badge.svg?token=DBYp5Rht9J)](https://codecov.io/gh/freaktechnik/transifex-loader)\n\nA loader, that fetches the content of string files from Transifex. Requires\nconfiguration via `.transifexrc` and `.tx/config` in the same format as the\nofficial `tx` tool. The configuration files are searched from the directory\nthe loaded file is in up to the system root.\n\n## Installation\n\n```bash\nnpm install --save-dev transifex-loader\n```\n\n## Usage\n\nAdd the loader before any other action in your webpack configuration for all your\nresources that are translated on Transifex. You can of course also use it in a\nrequire statement directly. The loader works as a kind of pre-processor for\ntranslations.\n\nIf the translation can be found on Transifex, it is downloaded and\nreturned. If an error occurs (i.e. no internet connection) the local file is\nreturned. When the remote translations are successfully loaded the loader by\ndefault writes the updated version to disk, replacing your local file. This can\nbe disabled with the `store` option.\n\nTo match your local resources with the Transifex translations the loader uses\nthe same configuration as the `tx` command line tool, specifically `.transifexrc`\nfor credentials and `.tx/config` for resource informations.\n\n## Options\n\n### `store`\n\nYou can disable writing the result from Transifex to the original file by setting\nthis to `false`.\n\n### `disableCache`\n\nDisables reading the resource that is in the source language from the local file\nsystem and fetches it from Transifex, too.\n\n## Known incompatibilities (to tx)\n\n- Requires the project to be on transifex.com but does not complain about it.\n- Ignores `minimum_perc`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreaktechnik%2Ftransifex-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreaktechnik%2Ftransifex-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreaktechnik%2Ftransifex-loader/lists"}