{"action":"created","issue":{"url":"https://api.github.com/repos/angular-translate/bower-angular-translate-loader-static-files/issues/16","labels_url":"https://api.github.com/repos/angular-translate/bower-angular-translate-loader-static-files/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/angular-translate/bower-angular-translate-loader-static-files/issues/16/comments","events_url":"https://api.github.com/repos/angular-translate/bower-angular-translate-loader-static-files/issues/16/events","html_url":"https://github.com/angular-translate/bower-angular-translate-loader-static-files/issues/16","id":72413826,"number":16,"title":"pluralize and advanced format doesn't work","user":{"login":"0xbaadf00d","id":1005086,"avatar_url":"https://avatars.githubusercontent.com/u/1005086?v=3","gravatar_id":"","url":"https://api.github.com/users/0xbaadf00d","html_url":"https://github.com/0xbaadf00d","followers_url":"https://api.github.com/users/0xbaadf00d/followers","following_url":"https://api.github.com/users/0xbaadf00d/following{/other_user}","gists_url":"https://api.github.com/users/0xbaadf00d/gists{/gist_id}","starred_url":"https://api.github.com/users/0xbaadf00d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xbaadf00d/subscriptions","organizations_url":"https://api.github.com/users/0xbaadf00d/orgs","repos_url":"https://api.github.com/users/0xbaadf00d/repos","events_url":"https://api.github.com/users/0xbaadf00d/events{/privacy}","received_events_url":"https://api.github.com/users/0xbaadf00d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T11:35:45Z","updated_at":"2015-05-01T16:05:16Z","closed_at":"2015-05-01T16:05:16Z","body":"Hi,\r\n\r\nI have some issue with this plugin :\r\n\r\n  - Pluralize form seem not working\r\n  - Advanced format seem not working\r\n  - Simple format does not respect the current local (in my case: FR) to print floating number.\r\n\r\n\r\n\r\n###### bower.json\r\n    \"angular\": \"1.3.15\",\r\n    \"angular-route\": \"1.3.x\",\r\n    \"angular-loader\": \"1.3.x\",\r\n    \"angular-mocks\": \"~1.3.x\",\r\n    \"html5-boilerplate\": \"~4.3.0\",\r\n    \"angular-i18n\" : \"v1.4.0-rc.1\",\r\n    \"angular-translate\" : \"2.6.1\",\r\n    \"angular-translate-loader-static-files\" : \"2.6.1\",\r\n    \"angular-translate-storage-cookie\" : \"2.6.1\",\r\n    \"angular-dynamic-locale\" : \"0.1.27\"\r\n\r\n\r\n###### app.js\r\n    'use strict';\r\n\r\n    // Declare app level module which depends on views, and components\r\n    angular.module('myApp', [\r\n    'ngRoute',\r\n    'ngCookies',\r\n    'pascalprecht.translate',\r\n    'tmh.dynamicLocale',\r\n    'myApp.home',\r\n    'myApp.view2',\r\n    'myApp.version'\r\n    ]).\r\n    config(['$routeProvider', function ($routeProvider) {\r\n        $routeProvider.otherwise({redirectTo: '/home'});\r\n\r\n    }]).\r\n    config([\"$translateProvider\", function ($translateProvider) {\r\n        $translateProvider.useStaticFilesLoader({\r\n            prefix: 'locale-',\r\n            suffix: '.json'\r\n        });\r\n        $translateProvider.preferredLanguage(\"en\");\r\n    }])\r\n    .config([\"tmhDynamicLocaleProvider\", function (tmhDynamicLocaleProvider) {\r\n        tmhDynamicLocaleProvider.localeLocationPattern('https://code.angularjs.org/1.2.20/i18n/angular-locale_{{locale}}.js');\r\n    }])\r\n\r\n\r\n###### locale-en.json\r\n    {\r\n        \"LIKE_TEXT\" : \"{GENDER, select, male{He} female{She} other{They}} liked this.\",\r\n        \"CAT\"       : \"{COUNT, plural, one {1 cat} other {# cats}}.\"\r\n        \"AMOUNT\"    : \"{{AMOUNT}} EUR\",\r\n    }\r\n\r\n\r\n###### home.html\r\n    <ANY translate=\"AMOUNT\" translate-values=\"{ AMOUNT: 23.23 }\"></ANY>\r\n    <br/>\r\n    {{'AMOUNT' | translate: \"{AMOUNT: 45.23}\"}}\r\n    <hr>\r\n    <ANY translate=\"CAT\" translate-values=\"{ COUNT: 0 }\"></ANY>\r\n    <hr>\r\n    <ANY translate=\"LIKE_TEXT\" translate-values=\"{ GENDER: 'male' }\"></ANY>\r\n\r\n\r\n\r\n\r\n###### OUTPUT (CHROME 42)\r\n    23.23 EUR \r\n    45.23 EUR\r\n    ___________________________________________________\r\n    {COUNT, plural, one {1 cat} other {# cats}}\r\n    ___________________________________________________\r\n    {GENDER, select, male{He} female{She} other{They}} liked this."},"comment":{"url":"https://api.github.com/repos/angular-translate/bower-angular-translate-loader-static-files/issues/comments/98167075","html_url":"https://github.com/angular-translate/bower-angular-translate-loader-static-files/issues/16#issuecomment-98167075","issue_url":"https://api.github.com/repos/angular-translate/bower-angular-translate-loader-static-files/issues/16","id":98167075,"user":{"login":"knalli","id":65389,"avatar_url":"https://avatars.githubusercontent.com/u/65389?v=3","gravatar_id":"","url":"https://api.github.com/users/knalli","html_url":"https://github.com/knalli","followers_url":"https://api.github.com/users/knalli/followers","following_url":"https://api.github.com/users/knalli/following{/other_user}","gists_url":"https://api.github.com/users/knalli/gists{/gist_id}","starred_url":"https://api.github.com/users/knalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knalli/subscriptions","organizations_url":"https://api.github.com/users/knalli/orgs","repos_url":"https://api.github.com/users/knalli/repos","events_url":"https://api.github.com/users/knalli/events{/privacy}","received_events_url":"https://api.github.com/users/knalli/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T16:05:16Z","updated_at":"2015-05-01T16:05:16Z","body":"I'm closing this again. If you are still faced with an issue, please go to the main repo's issue page https://github.com/angular-translate/angular-translate/issues\r\n\r\nThank you."}}