{"action":"closed","issue":{"url":"https://api.github.com/repos/h5p/h5p-moodle-plugin/issues/118","repository_url":"https://api.github.com/repos/h5p/h5p-moodle-plugin","labels_url":"https://api.github.com/repos/h5p/h5p-moodle-plugin/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/h5p/h5p-moodle-plugin/issues/118/comments","events_url":"https://api.github.com/repos/h5p/h5p-moodle-plugin/issues/118/events","html_url":"https://github.com/h5p/h5p-moodle-plugin/issues/118","id":184537924,"number":118,"title":"Allow underscores in content-type language files","user":{"login":"ewout","id":6329,"avatar_url":"https://avatars.githubusercontent.com/u/6329?v=3","gravatar_id":"","url":"https://api.github.com/users/ewout","html_url":"https://github.com/ewout","followers_url":"https://api.github.com/users/ewout/followers","following_url":"https://api.github.com/users/ewout/following{/other_user}","gists_url":"https://api.github.com/users/ewout/gists{/gist_id}","starred_url":"https://api.github.com/users/ewout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewout/subscriptions","organizations_url":"https://api.github.com/users/ewout/orgs","repos_url":"https://api.github.com/users/ewout/repos","events_url":"https://api.github.com/users/ewout/events{/privacy}","received_events_url":"https://api.github.com/users/ewout/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-21T17:54:53Z","updated_at":"2016-11-01T20:45:21Z","closed_at":"2016-11-01T20:45:21Z","body":"We found out how to translate the content types: by creating and editing files in the /language subdirectory of the content types and libraries. However, we found a limitation that I think is of the Moodle plugin: the name of the file cannot be pt_br.json, which gives this error\n`Invalid language file pt_br.json in library H5P.InteractiveVideo-1.11\n`\n![screenshot from 2016-10-21 15-49-10](https://cloud.githubusercontent.com/assets/6329/19607106/5d46f6da-97a6-11e6-9656-d4d81a7aeebd.png)\n\nHowever, a Moodle configured to use Brazilian Portuguese  use the pt_br language pack, not the pt language pack and it's important that the hvp module chooses the correct language.\n"}}
{"actor":{"display_login":"ewout"}}