{"action":"closed","issue":{"url":"https://api.github.com/repos/grow/pygrow/issues/114","labels_url":"https://api.github.com/repos/grow/pygrow/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/grow/pygrow/issues/114/comments","events_url":"https://api.github.com/repos/grow/pygrow/issues/114/events","html_url":"https://github.com/grow/pygrow/issues/114","id":103445583,"number":114,"title":"Investigate using $locale to override the default locale's yaml","user":{"login":"jeremydw","id":646525,"avatar_url":"https://avatars.githubusercontent.com/u/646525?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremydw","html_url":"https://github.com/jeremydw","followers_url":"https://api.github.com/users/jeremydw/followers","following_url":"https://api.github.com/users/jeremydw/following{/other_user}","gists_url":"https://api.github.com/users/jeremydw/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydw/subscriptions","organizations_url":"https://api.github.com/users/jeremydw/orgs","repos_url":"https://api.github.com/users/jeremydw/repos","events_url":"https://api.github.com/users/jeremydw/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/grow/pygrow/milestones/2","html_url":"https://github.com/grow/pygrow/milestones/1.0.0","labels_url":"https://api.github.com/repos/grow/pygrow/milestones/2/labels","id":1275185,"number":2,"title":"1.0.0","description":null,"creator":{"login":"jeremydw","id":646525,"avatar_url":"https://avatars.githubusercontent.com/u/646525?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremydw","html_url":"https://github.com/jeremydw","followers_url":"https://api.github.com/users/jeremydw/followers","following_url":"https://api.github.com/users/jeremydw/following{/other_user}","gists_url":"https://api.github.com/users/jeremydw/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydw/subscriptions","organizations_url":"https://api.github.com/users/jeremydw/orgs","repos_url":"https://api.github.com/users/jeremydw/repos","events_url":"https://api.github.com/users/jeremydw/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydw/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2015-08-27T01:12:01Z","updated_at":"2015-10-20T22:09:20Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-08-27T07:29:07Z","updated_at":"2015-10-20T22:09:20Z","closed_at":"2015-10-20T22:09:20Z","body":"Currently, it's impossible to override the default locale's yaml using the `$locale` identifier. For example, if a pod's default locale is `en_US` and if you'd like to:\r\n\r\n1. override specific content for `en_US`,\r\n1. preserve `en_US` as the default locale,\r\n1. and use the built-in `$locale` identifier to override just `en_US`,\r\n\r\n... there is no way to do that other than to change a document's default locale to something else, update the paths for the new default locale, and copy the overridden data to a new yaml section with `$locale: en_US`. This is an OK workaround, but it's a bit roundabout.\r\n\r\nThe reason you cannot override a default locale's yaml currently is because the first section (the default locale's section) is *already* considered by the system to have an implicit `$locale: en_US` (when `en_US` is the default locale), so adding a new section with `$locale: en_US` would be equivalent to duplicating documents for `$locale: en_US` which is not supported.\r\n\r\nInternally, this makes sense, but at the same time we should investigate whether it makes sense to revisit this and determine if we need a way to easily support the scenario mentioned in the bullet points above – or whether it's OK as-is.\r\n\r\n@meizon FYI"}}