{"action":"created","issue":{"url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/118","repository_url":"https://api.github.com/repos/foretagsplatsen/numbro","labels_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/118/comments","events_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/118/events","html_url":"https://github.com/foretagsplatsen/numbro/issues/118","id":114487338,"number":118,"title":"Numbro cannot find language files for a node app launched with 'forever'","user":{"login":"gabooh","id":3327028,"avatar_url":"https://avatars.githubusercontent.com/u/3327028?v=3","gravatar_id":"","url":"https://api.github.com/users/gabooh","html_url":"https://github.com/gabooh","followers_url":"https://api.github.com/users/gabooh/followers","following_url":"https://api.github.com/users/gabooh/following{/other_user}","gists_url":"https://api.github.com/users/gabooh/gists{/gist_id}","starred_url":"https://api.github.com/users/gabooh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabooh/subscriptions","organizations_url":"https://api.github.com/users/gabooh/orgs","repos_url":"https://api.github.com/users/gabooh/repos","events_url":"https://api.github.com/users/gabooh/events{/privacy}","received_events_url":"https://api.github.com/users/gabooh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-01T19:31:33Z","updated_at":"2016-04-06T15:16:57Z","closed_at":null,"body":"I'm using forever (https://github.com/foreverjs/forever) to launch a nodejs application.\r\nWhen launched with forever I get this message when settting the culture : \"Error: Unknown culture : fr-FR\"\r\n\r\nIt's because the process.title value is not 'node', but this : '/home/user/.nvm/versions/node/v4.1.2/bin/node'\r\n\r\nSo the function inNodejsRuntime() returns false. And the languages are thus not loaded.\r\n\r\nI guess there is a more reliable method to detect a nodejs environement ? The process.title === 'node' is not correct in this particular case. Checking process.versions sounds like a better idea.\r\n\r\nhttps://nodejs.org/api/process.html#process_process_versions"},"comment":{"url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/comments/206422418","html_url":"https://github.com/foretagsplatsen/numbro/issues/118#issuecomment-206422418","issue_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/118","id":206422418,"user":{"login":"BenjaminVanRyseghem","id":407891,"avatar_url":"https://avatars.githubusercontent.com/u/407891?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminVanRyseghem","html_url":"https://github.com/BenjaminVanRyseghem","followers_url":"https://api.github.com/users/BenjaminVanRyseghem/followers","following_url":"https://api.github.com/users/BenjaminVanRyseghem/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminVanRyseghem/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminVanRyseghem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminVanRyseghem/subscriptions","organizations_url":"https://api.github.com/users/BenjaminVanRyseghem/orgs","repos_url":"https://api.github.com/users/BenjaminVanRyseghem/repos","events_url":"https://api.github.com/users/BenjaminVanRyseghem/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminVanRyseghem/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T15:16:57Z","updated_at":"2016-04-06T15:16:57Z","body":"@stewart42 why not :smile:"}}