{"id":16428986,"url":"https://github.com/ocombe/i18n-demo-no-cli","last_synced_at":"2025-10-14T07:31:44.363Z","repository":{"id":151132009,"uuid":"107188311","full_name":"ocombe/i18n-demo-no-cli","owner":"ocombe","description":"Angular i18n demo with webpack","archived":false,"fork":false,"pushed_at":"2018-02-02T07:55:08.000Z","size":95,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-03T15:49:30.376Z","etag":null,"topics":[],"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/ocombe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-10-16T22:09:51.000Z","updated_at":"2020-06-22T20:19:12.000Z","dependencies_parsed_at":"2024-03-09T00:42:03.840Z","dependency_job_id":null,"html_url":"https://github.com/ocombe/i18n-demo-no-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ocombe/i18n-demo-no-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2Fi18n-demo-no-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2Fi18n-demo-no-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2Fi18n-demo-no-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2Fi18n-demo-no-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocombe","download_url":"https://codeload.github.com/ocombe/i18n-demo-no-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2Fi18n-demo-no-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018225,"owners_count":26086307,"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-14T02:00:06.444Z","response_time":60,"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":"2024-10-11T08:19:58.093Z","updated_at":"2025-10-14T07:31:44.323Z","avatar_url":"https://github.com/ocombe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular i18n demo with webpack\n\n- Webpack and @ngtool packages, but no @angular/cli.\n- Supports both JIT and AOT.\n\n### How to use:\nUpdate the file `env.conf.json` by setting:\n- `defaultLang`: the lang of the application without translations\n- `i18nInFormat`: the format of the translations file for serve/build\n- `i18nOutFormat`: the format of the translations file for extraction\n- `outFile`: the name of the file for extraction\n- `outputPath`: the path where the translations file should be extracted, relative to the src folder\n\nUse the commands from package.json to serve/build the app: `npm run start` \u0026 `npm run start:fr` will use JIT, `npm run start:aot` and `npm run start:aot:fr` will use AOT.\nSame thing for the build commands.\n\nExtract the messages with the command `npm run extract`,\nit will extract the messages to the src/i18n/ folder (unless you change the `env.conf.json` file)\nand it will automatically merge the new messages into your existing translations using the [ngx-i18nsupport library](https://github.com/martinroob/ngx-i18nsupport).\nRight now it supports the language fr, you can add more languages for the merge option in the file xliffmerge.conf.json (see the [ngx-i18nsupport repository](https://github.com/martinroob/ngx-i18nsupport) for more info).\n\n/!\\ the extraction requires to build your app with AOT, if your app doesn't support AOT, you won't be able to extract.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focombe%2Fi18n-demo-no-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focombe%2Fi18n-demo-no-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focombe%2Fi18n-demo-no-cli/lists"}