{"id":15103466,"url":"https://github.com/dgarvanski/angular-ui-grid-translate","last_synced_at":"2025-09-27T01:30:53.493Z","repository":{"id":57179306,"uuid":"61704600","full_name":"DGarvanski/angular-ui-grid-translate","owner":"DGarvanski","description":"An extension for angular-ui-grid, which allows the usage of angular-translate for i18n functionality (WIP)","archived":true,"fork":false,"pushed_at":"2016-08-11T08:26:59.000Z","size":38,"stargazers_count":2,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-25T00:08:49.889Z","etag":null,"topics":["angular-translate","angularjs","i18n","internationalization","translation","ui-grid"],"latest_commit_sha":null,"homepage":null,"language":null,"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/DGarvanski.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-06-22T09:00:49.000Z","updated_at":"2024-06-10T06:44:13.000Z","dependencies_parsed_at":"2022-08-30T16:11:19.475Z","dependency_job_id":null,"html_url":"https://github.com/DGarvanski/angular-ui-grid-translate","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/DGarvanski%2Fangular-ui-grid-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGarvanski%2Fangular-ui-grid-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGarvanski%2Fangular-ui-grid-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGarvanski%2Fangular-ui-grid-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DGarvanski","download_url":"https://codeload.github.com/DGarvanski/angular-ui-grid-translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219871823,"owners_count":16554457,"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":["angular-translate","angularjs","i18n","internationalization","translation","ui-grid"],"created_at":"2024-09-25T19:24:16.509Z","updated_at":"2025-09-27T01:30:53.251Z","avatar_url":"https://github.com/DGarvanski.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-ui-grid-translate\nAn extension for [angular-ui-grid](http://ui-grid.info/), which allows the usage of [angular-translate](https://angular-translate.github.io/) for i18n functionality (\u003cb\u003eWIP\u003c/b\u003e)\n\n\u003cb\u003eWORK IN PROGRESS, NOT FULLY FUNCTIONAL!\u003c/b\u003e\n\n\u003cb\u003eDemo on Plunker: [DEMO](http://plnkr.co/3fkdue)\u003c/b\u003e\n\n\u003ch3\u003eWhat it does\u003c/h3\u003e\nangular-ui-grid translate overrides the default [angular-ui-grid](http://ui-grid.info/) templates to allow translating grid elements with [angular-translate](https://angular-translate.github.io/), thus avoiding the need to configure both angular-translate and the ui-grid i18n service. The whole idea is to unify your apps internationalization into one configuration and give more flexibility to ui-grids i18n.\n\n\u003ch3\u003eWhy?\u003c/h3\u003e\nui-grid is pretty limited in what it does with its localization. While it does provide a big array of available translations, it does require that you specifically configure the usage of the i18n service separately from your app internationalization if you're using [angular-translate](https://angular-translate.github.io/).\n\n\u003ch3\u003eWhat works currently?\u003c/h3\u003e\nangular-ui-grid-translate currently works with a handful of languages and elements. It is not a full-fledged, finished project and doesn't translate every ui-grid element.\u003cbr/\u003e\n\n\u003cb\u003eElements:\u003c/b\u003e\n\u003cul\u003e\n\u003cli\u003ePagination\u003c/li\u003e\n\u003cli\u003eFooter\u003c/li\u003e\n\u003cli\u003eMore to come...\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cb\u003eLanguages:\u003c/b\u003e\n\u003cul\u003e\n\u003cli\u003eEnglish (can be used as \"en\", \"en_US\", \"en_GB\")\u003c/li\u003e\n\u003cli\u003eFrench (can be used as \"fr\", \"fr_FR\")\u003c/li\u003e\n\u003cli\u003eGerman (can be used as \"de\", \"de_DE\")\u003c/li\u003e\n\u003cli\u003eBulgarian (can be used as \"bg\", \"bg_BG\")\u003c/li\u003e\n\u003cli\u003eRussian (can be used as \"ru\", \"ru_RU\")\u003c/li\u003e\n\u003cli\u003eCzech (can be used as \"cz\", \"cz_CZ\")\u003c/li\u003e\n\u003cli\u003ePolish (can be used as \"pl\", \"pl_PL\")\u003c/li\u003e\n\u003cli\u003eSlovak (can be used as \"sk\", \"sk_SK\")\u003c/li\u003e\n\u003cli\u003eSpanish (can be used as \"es\", \"es_ES\")\u003c/li\u003e\n\u003cli\u003ePortuguese (can be used as \"pt\", \"pt_PT\", \"pt_BR\")\u003c/li\u003e\n\u003cli\u003eItalian (can be used as \"it\", \"it_IT\")\u003c/li\u003e\n\u003cli\u003eRomanian (can be used as \"ro\", \"ro_RO\")\u003c/li\u003e\n\u003cli\u003eSwedish (can be used as \"sv\", \"sv_SE\")\u003c/li\u003e\n\u003cli\u003eFinnish (can be used as \"fi\", \"fi_FI\")\u003c/li\u003e\n\u003cli\u003eDanish (can be used as \"da\", \"da_DA\")\u003c/li\u003e\n\u003cli\u003eDutch (can be used as \"nl\", \"nl_NL\", \"nl_BE\")\u003c/li\u003e\n\u003cli\u003eTurkish (can be used as \"tr\", \"tr_TR\")\u003c/li\u003e\n\u003cli\u003eTamil (can be used as \"ta\", \"ta_IN\")\u003c/li\u003e\n\u003cli\u003eArmenian (can be used as \"hy\", \"hy_AM\")\u003c/li\u003e\n\u003cli\u003eJapanese (can be used as \"ja\", \"ja_JP\")\u003c/li\u003e\n\u003cli\u003eKorean (can be used as \"ko\", \"ko_KR\")\u003c/li\u003e\n\u003cli\u003eMore to come...\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eIf you want to use it anyway\u003c/h2\u003e\n\n\u003ch3\u003eInstallation\u003c/h3\u003e\n\u003cpre\u003egit clone http://github.com/DGarvanski/angular-ui-grid-translate/\u003c/pre\u003e\nor\n\u003cpre\u003ebower install angular-ui-grid-translate --save\u003c/pre\u003e\nor\n\u003cpre\u003enpm install angular-ui-grid-translate --save\u003c/pre\u003e\n\n\u003ch3\u003eUse\u003c/h3\u003e\n\u003cb\u003e1.Add js file to your index.html:\u003c/b\u003e\n\n`\u003cscript src=\"angular-ui-grid-translate/js/angular-ui-grid-translate.js\"\u003e\u003c/script\u003e`\n\nor\n\n`\u003cscript src=\"bower_components/angular-ui-grid-translate/js/angular-ui-grid-translate.js\"\u003e\u003c/script\u003e`\n\nor\n\n`\u003cscript src=\"node_modules/angular-ui-grid-translate/js/angular-ui-grid-translate.js\"\u003e\u003c/script\u003e`\n\n\u003cb\u003eNOTE: MUST BE ADDED AFTER THE UI-GRID IN THE INDEX\u003c/b\u003e\n\u003chr/\u003e\n\u003cb\u003e2.Declare as dependency:\u003c/b\u003e\n```\nangular.module('myApp',[\n  'ui.grid',\n  'ui.grid.pagination',\n  'pascalprecht.translate', \n  'angular-ui-grid-translate'\n]);\n```\n\u003chr/\u003e\n\u003cb\u003e3.(optional) Use provided `'uigt.LanguageController'` to change the current language with `changeTo(language)`:\u003c/b\u003e\n\nExample:\n```\n\u003cdiv ng-controller=\"uigt.LanguageController\"\u003e\n    \u003cdiv class=\"btn-group\"\u003e\n      \u003cbutton class=\"btn btn-default btn-sm\" ng-click=\"changeTo('en')\"\u003eEN\u003c/button\u003e\n      \u003cbutton class=\"btn btn-default btn-sm\" ng-click=\"changeTo('bg')\"\u003eBG\u003c/button\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\u003cb\u003eNOTE: YOU CAN JUST AS EASILY USE YOUR OWN METHOD.\u003c/b\u003e\n\u003chr/\u003e\n\u003cb\u003e4.See how your whole app gets translated on language change\u003c/b\u003e\n\n\u003ch3\u003eContributing\u003c/h3\u003e\nFeel free to contribute with anything from ui-grid templates to translations and doc improvements.\n\n\u003ch3\u003eLicense\u003c/h3\u003e\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Dejan Garvanski\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgarvanski%2Fangular-ui-grid-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgarvanski%2Fangular-ui-grid-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgarvanski%2Fangular-ui-grid-translate/lists"}