{"action":"opened","issue":{"url":"https://api.github.com/repos/doshprompt/angular-localization/issues/98","repository_url":"https://api.github.com/repos/doshprompt/angular-localization","labels_url":"https://api.github.com/repos/doshprompt/angular-localization/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/doshprompt/angular-localization/issues/98/comments","events_url":"https://api.github.com/repos/doshprompt/angular-localization/issues/98/events","html_url":"https://github.com/doshprompt/angular-localization/issues/98","id":178625725,"number":98,"title":"Setting up default locale","user":{"login":"alaksandarjesus","id":4712552,"avatar_url":"https://avatars.githubusercontent.com/u/4712552?v=3","gravatar_id":"","url":"https://api.github.com/users/alaksandarjesus","html_url":"https://github.com/alaksandarjesus","followers_url":"https://api.github.com/users/alaksandarjesus/followers","following_url":"https://api.github.com/users/alaksandarjesus/following{/other_user}","gists_url":"https://api.github.com/users/alaksandarjesus/gists{/gist_id}","starred_url":"https://api.github.com/users/alaksandarjesus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaksandarjesus/subscriptions","organizations_url":"https://api.github.com/users/alaksandarjesus/orgs","repos_url":"https://api.github.com/users/alaksandarjesus/repos","events_url":"https://api.github.com/users/alaksandarjesus/events{/privacy}","received_events_url":"https://api.github.com/users/alaksandarjesus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T14:28:29Z","updated_at":"2016-09-22T14:28:29Z","closed_at":null,"body":"Hi\r\n\r\nI am trying to set the default locale and my configuration is as below.\r\n\r\n\r\n`var  localeConf = {\r\n    basePath: 'languages',\r\n    defaultLocale: 'ta-IN',\r\n    sharedDictionary: 'common',\r\n    fileExtension: '.lang.json',\r\n    persistSelection: true,\r\n    cookieName: 'COOKIE_LOCALE_LANG',\r\n    observableAttrs: new RegExp('^data-(?!ng-|i18n)'),\r\n    delimiter: '::',\r\n    validTokens: new RegExp('^[\\\\w\\\\.-]+\\\\.[\\\\w\\\\s\\\\.-]+\\\\w(:.*)?$')\r\n    };\r\n\r\n\r\nvar localeSupported = [\r\n    'ta-IN',\r\n    'fr-FR',\r\n    'en-US'\r\n    ]\r\n\r\n\r\nvar localeFallbacks =  {\r\n    'ta': 'ta-IN',\r\n    'en': 'en-US',\r\n    'fr': 'fr-FR'\r\n}`\r\n\r\n\r\n\r\nBut i could not see the output for ta-IN. \r\n\r\nTested it with en-US and its working. Maintained the same folder structure too."}}
{"actor":{"display_login":"alaksandarjesus"}}