{"id":27935822,"url":"https://github.com/atticoos/angular-translate-once","last_synced_at":"2026-03-11T19:31:26.440Z","repository":{"id":29554104,"uuid":"33093305","full_name":"atticoos/angular-translate-once","owner":"atticoos","description":":currency_exchange: Extension of angular-translate for one time bindings","archived":false,"fork":false,"pushed_at":"2017-03-18T03:43:04.000Z","size":18,"stargazers_count":53,"open_issues_count":8,"forks_count":12,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2026-02-08T20:35:03.346Z","etag":null,"topics":["angular","angular-translate","javascript","translation"],"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/atticoos.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}},"created_at":"2015-03-29T23:10:46.000Z","updated_at":"2021-07-04T06:10:04.000Z","dependencies_parsed_at":"2022-09-09T19:01:36.228Z","dependency_job_id":null,"html_url":"https://github.com/atticoos/angular-translate-once","commit_stats":null,"previous_names":["ajwhite/angular-translate-once"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/atticoos/angular-translate-once","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticoos%2Fangular-translate-once","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticoos%2Fangular-translate-once/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticoos%2Fangular-translate-once/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticoos%2Fangular-translate-once/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atticoos","download_url":"https://codeload.github.com/atticoos/angular-translate-once/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticoos%2Fangular-translate-once/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30395594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T18:46:22.935Z","status":"ssl_error","status_checked_at":"2026-03-11T18:46:17.045Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["angular","angular-translate","javascript","translation"],"created_at":"2025-05-07T06:50:47.762Z","updated_at":"2026-03-11T19:31:26.395Z","avatar_url":"https://github.com/atticoos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-translate-once\n\n[![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://bower.herokuapp.com/packages/angular-translate-once)\n[![Build Status](http://img.shields.io/travis/ajwhite/angular-translate-once.svg?style=flat)](http://travis-ci.org/ajwhite/angular-translate-once)\n[![Dependency Status](http://img.shields.io/gemnasium/ajwhite/angular-translate-once.svg?style=flat)](https://gemnasium.com/ajwhite/angular-translate-once)\n\n\n\n`angular-translate-once` is an extension of [`angular-translate`](https://github.com/angular-translate/angular-translate) by introducing one-time bindings for static content.\n\nBy default, all of your translations beocme part of the digest cycle and bloat your application's [`$watch` list](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$watch). You don't really need to observe any changes for things like\n\n- form labels\n- input placeholders\n- link text/titles\n- static copy\n\nThese things really only need to bind once. If you're looking to trim any excess watchers from your application, and you use [`angular-translate`](https://github.com/angular-translate/angular-translate), this directive may help you out.\n\n\n## Example Usage\n```html\n\u003clabel translate-once=\"EMAIL_ADDRESS\"\u003e\u003c/label\u003e\n\u003cinput type=\"email\" translate-once-placeholder=\"SAMPLE_EMAIL_ADDRESS\" /\u003e\n```\n\n```html\n\u003cp translate-once=\"DYNAMIC_CONTENT\" translate-values=\"{standard: 'object'}\"\u003e\u003c/p\u003e\n```\n\n---\n\nThis should all look very familiar, the only difference is `-once` in the directive name, and that the translation will be applied as soon as the directive is linked.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatticoos%2Fangular-translate-once","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatticoos%2Fangular-translate-once","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatticoos%2Fangular-translate-once/lists"}