{"action":"created","comment":{"url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/comments/209853698","pull_request_review_id":145945655,"id":209853698,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTg1MzY5OA==","diff_hunk":"@@ -30,15 +30,28 @@ Locales which are not used in at least one channel are shown as inactive.\n # How to add a new locale?\n \n You are missing a locale? It is very simple to add a new locale using imports.  \n+\n+## Format of the new locale to import\n+\n+Your new locales have to respect one of the following formats: xx_YY, xxx_YY, xx_YY_ZZ... never upload a locale with empty spaces in it. If you upload a `es_DE` locale, it will appear as `Spanish (Germany)`, if you upload a locale called `English_test_web` it will appear as `English (test, Web)`. \n+\n+The PIM limits to 20 the number of characters that can be used for a locale.\n+\n+## Steps to add a new locale\n+\n For instance, to add a `en_HK` locale, follow these steps:\n 1.  Create an import XLSX or CSV file containing two values: a locale `code` column like below:  \n   `code`  \n   `en_HK`  \n 1.  Import this file using an import job (`csv_locale_import` or `xlsx_locale_import`). Once the file is imported, the new locale will appear under `Settings/Locales`.\n-1.  To enable it and add it to a channel, use a channel import job (again csv or xlsx) and add the `en_HK` code in the `locales` column.\n+1.  To enable it and add it to a channel, go to `Settings/Channels` and add it in the dedicated field. If you cannot find it use a channel import job (csv or xlsx) and add the `en_HK` code in the `locales` column.","path":"content/md/first-steps/manage-locales.md","position":19,"original_position":19,"commit_id":"919da71ca6028efe47776a34cba10b7569643394","original_commit_id":"919da71ca6028efe47776a34cba10b7569643394","user":{"login":"NolwennP","id":25225430,"node_id":"MDQ6VXNlcjI1MjI1NDMw","avatar_url":"https://avatars3.githubusercontent.com/u/25225430?v=4","gravatar_id":"","url":"https://api.github.com/users/NolwennP","html_url":"https://github.com/NolwennP","followers_url":"https://api.github.com/users/NolwennP/followers","following_url":"https://api.github.com/users/NolwennP/following{/other_user}","gists_url":"https://api.github.com/users/NolwennP/gists{/gist_id}","starred_url":"https://api.github.com/users/NolwennP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NolwennP/subscriptions","organizations_url":"https://api.github.com/users/NolwennP/orgs","repos_url":"https://api.github.com/users/NolwennP/repos","events_url":"https://api.github.com/users/NolwennP/events{/privacy}","received_events_url":"https://api.github.com/users/NolwennP/received_events","type":"User","site_admin":false},"body":"If you cannot find it, use","created_at":"2018-08-14T07:35:26Z","updated_at":"2018-08-14T07:35:26Z","html_url":"https://github.com/akeneo/pim-helpcenter/pull/224#discussion_r209853698","pull_request_url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/comments/209853698"},"html":{"href":"https://github.com/akeneo/pim-helpcenter/pull/224#discussion_r209853698"},"pull_request":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224"}}},"pull_request":{"url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224","id":207335589,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MzM1NTg5","html_url":"https://github.com/akeneo/pim-helpcenter/pull/224","diff_url":"https://github.com/akeneo/pim-helpcenter/pull/224.diff","patch_url":"https://github.com/akeneo/pim-helpcenter/pull/224.patch","issue_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/224","number":224,"state":"open","locked":false,"title":"Add infos on manage your locales.md","user":{"login":"LaureBro","id":13367999,"node_id":"MDQ6VXNlcjEzMzY3OTk5","avatar_url":"https://avatars0.githubusercontent.com/u/13367999?v=4","gravatar_id":"","url":"https://api.github.com/users/LaureBro","html_url":"https://github.com/LaureBro","followers_url":"https://api.github.com/users/LaureBro/followers","following_url":"https://api.github.com/users/LaureBro/following{/other_user}","gists_url":"https://api.github.com/users/LaureBro/gists{/gist_id}","starred_url":"https://api.github.com/users/LaureBro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaureBro/subscriptions","organizations_url":"https://api.github.com/users/LaureBro/orgs","repos_url":"https://api.github.com/users/LaureBro/repos","events_url":"https://api.github.com/users/LaureBro/events{/privacy}","received_events_url":"https://api.github.com/users/LaureBro/received_events","type":"User","site_admin":false},"body":"added sub cat: ## Format of the new locale to import with the format requested and the limitation of 20 char.\r\nAdded ## Steps to add a new locale\r\nremove the 1st warning block and added it at the end of the steps. t the warning, since it's possible to now add them in the channel field.\r\nadd a ee block on locales permissions\r\nadd a warning regarding locale deletion (they can't be removed from UI)","created_at":"2018-08-09T14:27:31Z","updated_at":"2018-08-14T07:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0efcdb81e1737763be759db0d48a06d1334af26","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224/commits","review_comments_url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224/comments","review_comment_url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/224/comments","statuses_url":"https://api.github.com/repos/akeneo/pim-helpcenter/statuses/919da71ca6028efe47776a34cba10b7569643394","head":{"label":"akeneo:LaureBro-patch-1","ref":"LaureBro-patch-1","sha":"919da71ca6028efe47776a34cba10b7569643394","user":{"login":"akeneo","id":2510186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MTAxODY=","avatar_url":"https://avatars0.githubusercontent.com/u/2510186?v=4","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"repo":{"id":100015135,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAwMTUxMzU=","name":"pim-helpcenter","full_name":"akeneo/pim-helpcenter","owner":{"login":"akeneo","id":2510186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MTAxODY=","avatar_url":"https://avatars0.githubusercontent.com/u/2510186?v=4","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akeneo/pim-helpcenter","description":null,"fork":false,"url":"https://api.github.com/repos/akeneo/pim-helpcenter","forks_url":"https://api.github.com/repos/akeneo/pim-helpcenter/forks","keys_url":"https://api.github.com/repos/akeneo/pim-helpcenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akeneo/pim-helpcenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akeneo/pim-helpcenter/teams","hooks_url":"https://api.github.com/repos/akeneo/pim-helpcenter/hooks","issue_events_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/events{/number}","events_url":"https://api.github.com/repos/akeneo/pim-helpcenter/events","assignees_url":"https://api.github.com/repos/akeneo/pim-helpcenter/assignees{/user}","branches_url":"https://api.github.com/repos/akeneo/pim-helpcenter/branches{/branch}","tags_url":"https://api.github.com/repos/akeneo/pim-helpcenter/tags","blobs_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akeneo/pim-helpcenter/statuses/{sha}","languages_url":"https://api.github.com/repos/akeneo/pim-helpcenter/languages","stargazers_url":"https://api.github.com/repos/akeneo/pim-helpcenter/stargazers","contributors_url":"https://api.github.com/repos/akeneo/pim-helpcenter/contributors","subscribers_url":"https://api.github.com/repos/akeneo/pim-helpcenter/subscribers","subscription_url":"https://api.github.com/repos/akeneo/pim-helpcenter/subscription","commits_url":"https://api.github.com/repos/akeneo/pim-helpcenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/akeneo/pim-helpcenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/akeneo/pim-helpcenter/contents/{+path}","compare_url":"https://api.github.com/repos/akeneo/pim-helpcenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akeneo/pim-helpcenter/merges","archive_url":"https://api.github.com/repos/akeneo/pim-helpcenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akeneo/pim-helpcenter/downloads","issues_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues{/number}","pulls_url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls{/number}","milestones_url":"https://api.github.com/repos/akeneo/pim-helpcenter/milestones{/number}","notifications_url":"https://api.github.com/repos/akeneo/pim-helpcenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akeneo/pim-helpcenter/labels{/name}","releases_url":"https://api.github.com/repos/akeneo/pim-helpcenter/releases{/id}","deployments_url":"https://api.github.com/repos/akeneo/pim-helpcenter/deployments","created_at":"2017-08-11T09:22:24Z","updated_at":"2018-08-08T15:15:55Z","pushed_at":"2018-08-13T08:57:44Z","git_url":"git://github.com/akeneo/pim-helpcenter.git","ssh_url":"git@github.com:akeneo/pim-helpcenter.git","clone_url":"https://github.com/akeneo/pim-helpcenter.git","svn_url":"https://github.com/akeneo/pim-helpcenter","homepage":null,"size":136321,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":3,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"akeneo:master","ref":"master","sha":"2f1bd96296319ff804a05b635bd05bcd988181dc","user":{"login":"akeneo","id":2510186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MTAxODY=","avatar_url":"https://avatars0.githubusercontent.com/u/2510186?v=4","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"repo":{"id":100015135,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAwMTUxMzU=","name":"pim-helpcenter","full_name":"akeneo/pim-helpcenter","owner":{"login":"akeneo","id":2510186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MTAxODY=","avatar_url":"https://avatars0.githubusercontent.com/u/2510186?v=4","gravatar_id":"","url":"https://api.github.com/users/akeneo","html_url":"https://github.com/akeneo","followers_url":"https://api.github.com/users/akeneo/followers","following_url":"https://api.github.com/users/akeneo/following{/other_user}","gists_url":"https://api.github.com/users/akeneo/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo/subscriptions","organizations_url":"https://api.github.com/users/akeneo/orgs","repos_url":"https://api.github.com/users/akeneo/repos","events_url":"https://api.github.com/users/akeneo/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akeneo/pim-helpcenter","description":null,"fork":false,"url":"https://api.github.com/repos/akeneo/pim-helpcenter","forks_url":"https://api.github.com/repos/akeneo/pim-helpcenter/forks","keys_url":"https://api.github.com/repos/akeneo/pim-helpcenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akeneo/pim-helpcenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akeneo/pim-helpcenter/teams","hooks_url":"https://api.github.com/repos/akeneo/pim-helpcenter/hooks","issue_events_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/events{/number}","events_url":"https://api.github.com/repos/akeneo/pim-helpcenter/events","assignees_url":"https://api.github.com/repos/akeneo/pim-helpcenter/assignees{/user}","branches_url":"https://api.github.com/repos/akeneo/pim-helpcenter/branches{/branch}","tags_url":"https://api.github.com/repos/akeneo/pim-helpcenter/tags","blobs_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akeneo/pim-helpcenter/statuses/{sha}","languages_url":"https://api.github.com/repos/akeneo/pim-helpcenter/languages","stargazers_url":"https://api.github.com/repos/akeneo/pim-helpcenter/stargazers","contributors_url":"https://api.github.com/repos/akeneo/pim-helpcenter/contributors","subscribers_url":"https://api.github.com/repos/akeneo/pim-helpcenter/subscribers","subscription_url":"https://api.github.com/repos/akeneo/pim-helpcenter/subscription","commits_url":"https://api.github.com/repos/akeneo/pim-helpcenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/akeneo/pim-helpcenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/akeneo/pim-helpcenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/akeneo/pim-helpcenter/contents/{+path}","compare_url":"https://api.github.com/repos/akeneo/pim-helpcenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akeneo/pim-helpcenter/merges","archive_url":"https://api.github.com/repos/akeneo/pim-helpcenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akeneo/pim-helpcenter/downloads","issues_url":"https://api.github.com/repos/akeneo/pim-helpcenter/issues{/number}","pulls_url":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls{/number}","milestones_url":"https://api.github.com/repos/akeneo/pim-helpcenter/milestones{/number}","notifications_url":"https://api.github.com/repos/akeneo/pim-helpcenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akeneo/pim-helpcenter/labels{/name}","releases_url":"https://api.github.com/repos/akeneo/pim-helpcenter/releases{/id}","deployments_url":"https://api.github.com/repos/akeneo/pim-helpcenter/deployments","created_at":"2017-08-11T09:22:24Z","updated_at":"2018-08-08T15:15:55Z","pushed_at":"2018-08-13T08:57:44Z","git_url":"git://github.com/akeneo/pim-helpcenter.git","ssh_url":"git@github.com:akeneo/pim-helpcenter.git","clone_url":"https://github.com/akeneo/pim-helpcenter.git","svn_url":"https://github.com/akeneo/pim-helpcenter","homepage":null,"size":136321,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":3,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224"},"html":{"href":"https://github.com/akeneo/pim-helpcenter/pull/224"},"issue":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/224"},"comments":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/akeneo/pim-helpcenter/statuses/919da71ca6028efe47776a34cba10b7569643394"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"NolwennP"}}