{"id":17156318,"url":"https://github.com/michiel/ember-cli-generate-translations","last_synced_at":"2026-04-10T23:56:07.820Z","repository":{"id":57223287,"uuid":"75395577","full_name":"michiel/ember-cli-generate-translations","owner":"michiel","description":"ember-cli task to generate POT file from YAML and YAML files from PO files","archived":false,"fork":false,"pushed_at":"2016-12-27T14:30:42.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T18:38:47.930Z","etag":null,"topics":["ember-cli","ember-intl","emberjs","intl","po-files","pot","yaml"],"latest_commit_sha":null,"homepage":null,"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/michiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-02T12:54:11.000Z","updated_at":"2016-12-02T12:55:51.000Z","dependencies_parsed_at":"2022-08-24T15:41:35.045Z","dependency_job_id":null,"html_url":"https://github.com/michiel/ember-cli-generate-translations","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiel%2Fember-cli-generate-translations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiel%2Fember-cli-generate-translations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiel%2Fember-cli-generate-translations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiel%2Fember-cli-generate-translations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michiel","download_url":"https://codeload.github.com/michiel/ember-cli-generate-translations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245284423,"owners_count":20590306,"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":["ember-cli","ember-intl","emberjs","intl","po-files","pot","yaml"],"created_at":"2024-10-14T22:06:08.691Z","updated_at":"2026-04-10T23:56:02.781Z","avatar_url":"https://github.com/michiel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-generate-translations\n\n[![Ember Observer Score](https://emberobserver.com/badges/ember-cli-generate-translations.svg)](https://emberobserver.com/addons/ember-cli-generate-translations)\n[![Travis CI Score](https://travis-ci.org/michiel/ember-cli-generate-translations.svg?branch=master)](https://travis-ci.org/michiel/ember-cli-generate-translations)\n\nThis ember-addon generates a POT file for translation from the master YAML file\nand imports the translated PO files into YAML language files.\n\nIt currently works with ember-intl and expects there to be a configuration for that at _config/ember-intl.js_\n\n## Tasks\n\nIt adds three tasks\n\n### _generate-i18n-dirs_\n\n    ember generate-i18n-dirs\n\nThis task generates the _i18n-data/_ directory and its _po_ and _pot_ subdirectories.\n\n### _generate-i18n-pot_\n\n    ember generate-i18n-pot\n\nThis task takes the master YAML file and converts it to a POT file in _i18n-data/pot/app.pot_.\n\n### _generate-i18n-yaml_\n\n    ember generate-i18n-dirs\n\nThis task takes the PO files in _i18n-data/po/_ and converts each of the into the corresponding YAML file. So _i18n-data/po/nl-nl.po_ is transformed to _translations/nl-nl.yaml_.\n\n### Filesystem layout\n\nIn the translations directory, here en-us.yaml is the master file and is specified in _config/ember-intl.js_ as _baseLocale : 'en-us'_.\n\n    translations/\n    ├── en-us.yaml\n    ├── nl-nl.yaml\n    ├── en-gb.yaml\n    └── es-es.yaml\n\n\n    i18n-data/\n    ├── po\n    │   ├── nl-nl.po\n    │   ├── en-gb.po\n    │   └── es-es.po\n    └── pot\n        └── app.pot\n\n## Installation\n\n    ember install ember-cli-generate-translations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichiel%2Fember-cli-generate-translations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichiel%2Fember-cli-generate-translations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichiel%2Fember-cli-generate-translations/lists"}