{"action":"created","issue":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1052","labels_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1052/labels{/name}","comments_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1052/comments","events_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1052/events","html_url":"https://github.com/plone/Products.CMFPlone/issues/1052","id":107482659,"number":1052,"title":"i18n: The 'no' language code should be removed","user":{"login":"jcbrand","id":683911,"avatar_url":"https://avatars.githubusercontent.com/u/683911?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbrand","html_url":"https://github.com/jcbrand","followers_url":"https://api.github.com/users/jcbrand/followers","following_url":"https://api.github.com/users/jcbrand/following{/other_user}","gists_url":"https://api.github.com/users/jcbrand/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbrand/subscriptions","organizations_url":"https://api.github.com/users/jcbrand/orgs","repos_url":"https://api.github.com/users/jcbrand/repos","events_url":"https://api.github.com/users/jcbrand/events{/privacy}","received_events_url":"https://api.github.com/users/jcbrand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plone/Products.CMFPlone/labels/Enhancement","name":"Enhancement","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-21T10:18:54Z","updated_at":"2015-09-21T22:30:54Z","closed_at":null,"body":"We already have the 'nn' (Nynorsk) and 'nb' (Norwegian-Bokmal) language codes and certain 3rd party JS libraries (like moment.js) don't support 'no'.\r\n\r\nA similar issue was recently created on Django:\r\nhttps://code.djangoproject.com/ticket/11068\r\n\r\nFrom the Django ticket:\r\n> \"According to the ​The GNU gettext manual the language code for Norwegian bokmål have changed from 'no' to 'nb'.\"\r\n>\"Norwegian (no) is commonly used when describing  (nb), as  it is the main language used in Norway.\"\r\n\r\nLooks like in Plone it should be done here at line 179:\r\nhttps://github.com/plone/plone.i18n/blob/master/plone/i18n/locales/languages.py\r\n\r\nWe'll also need an upgrade step for sites that currently use 'no' and that should be moved to 'nb'."},"comment":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/comments/142127789","html_url":"https://github.com/plone/Products.CMFPlone/issues/1052#issuecomment-142127789","issue_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1052","id":142127789,"user":{"login":"jcbrand","id":683911,"avatar_url":"https://avatars.githubusercontent.com/u/683911?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbrand","html_url":"https://github.com/jcbrand","followers_url":"https://api.github.com/users/jcbrand/followers","following_url":"https://api.github.com/users/jcbrand/following{/other_user}","gists_url":"https://api.github.com/users/jcbrand/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbrand/subscriptions","organizations_url":"https://api.github.com/users/jcbrand/orgs","repos_url":"https://api.github.com/users/jcbrand/repos","events_url":"https://api.github.com/users/jcbrand/events{/privacy}","received_events_url":"https://api.github.com/users/jcbrand/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T22:30:54Z","updated_at":"2015-09-21T22:30:54Z","body":"@jensens Not really a bug I guess. There was a bug in Mockup's pat-moment pattern which exposed this issue, but that's been fixed."}}