{"action":"closed","issue":{"url":"https://api.github.com/repos/tinymce/tinymce/issues/1159","labels_url":"https://api.github.com/repos/tinymce/tinymce/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/tinymce/tinymce/issues/1159/comments","events_url":"https://api.github.com/repos/tinymce/tinymce/issues/1159/events","html_url":"https://github.com/tinymce/tinymce/issues/1159","id":113928797,"number":1159,"title":"Brazilian Portuguese should be referenced as pt-br and not br","user":{"login":"TinyMCE-User","id":14879844,"avatar_url":"https://avatars.githubusercontent.com/u/14879844?v=3","gravatar_id":"","url":"https://api.github.com/users/TinyMCE-User","html_url":"https://github.com/TinyMCE-User","followers_url":"https://api.github.com/users/TinyMCE-User/followers","following_url":"https://api.github.com/users/TinyMCE-User/following{/other_user}","gists_url":"https://api.github.com/users/TinyMCE-User/gists{/gist_id}","starred_url":"https://api.github.com/users/TinyMCE-User/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TinyMCE-User/subscriptions","organizations_url":"https://api.github.com/users/TinyMCE-User/orgs","repos_url":"https://api.github.com/users/TinyMCE-User/repos","events_url":"https://api.github.com/users/TinyMCE-User/events{/privacy}","received_events_url":"https://api.github.com/users/TinyMCE-User/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tinymce/tinymce/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/chrome","name":"chrome","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/closed","name":"closed","color":"5319e7"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/firefox","name":"firefox","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/imported","name":"imported","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/msie","name":"msie","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/opera","name":"opera","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/safari","name":"safari","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/works%20for%20me","name":"works for me","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-10-09T20:46:02Z","updated_at":"2015-10-28T21:45:40Z","closed_at":"2015-10-28T21:45:40Z","body":"Description of problem:\r\n\r\nbr, Breton language in ISO 639-1 language code - not Brazilian Portuguese\r\n\r\nThere is a nomenclature problem in the TinyMCE javascript source the Brazilian Portuguese is referenced by the \"br\" which is wrong because it is not the right nomenclature for the language is usually \"pt-br\" or \"pt_BR\" or even \"pt-BR\", but never \"br\", this is the language \"br, Breton language in ISO 639-1 language code\"\r\n\r\nThis makes it hard and kind of frustating to integrate TinyMCE with other systems and specially multilingual systems.\r\n\r\nReferences:\r\nhttp://en.wikipedia.org/wiki/Language_localisation\r\nhttp://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\r\nhttp://www.lingoes.net/en/translator/langcode.htm\n> _**Legacy information imported from TinyMCE bug tracker:**_\n>\n> _[#T6381](http://archive.tinymce.com/develop/bugtracker_view.php?id=6381) posted by [danielmelo89](http://archive.tinymce.com/profile.php?name=danielmelo89)_\n\n> _**Tags:** [firefox msie safari chrome opera ptbr br translation bug internationalization brazilian portuguese]_\n> _**Status:** Closed_\n> _**Resolution:** Works For Me_\n> _**Attached URL:** none_\n"}}