# Panic: Failed to load system translations for 'en'

**URL:** <https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513>\
**Category:** Troubleshooting\
**Created:** [May 17, 2016, 3:05pm UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513 "2016-05-17T15:05:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mike/32/2232_2.png) [@mike](https://forum.mattermost.com/u/mike)\
**Post date:** [May 17, 2016, 3:05pm UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513/1 "2016-05-17T15:05:35Z")

</div>

I’m running a clean install and when I try to build with Webstorm I keep getting this error.

How do I fix it?

ps building this thing is a pain in the ass.

thanks

---

<div class="post-metadata">

**Author:** ![elias](https://avatars.discourse-cdn.com/v4/letter/e/41988e/32.png) [@elias](https://forum.mattermost.com/u/elias)\
**Post date:** [May 17, 2016, 7:40pm UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513/2 "2016-05-17T19:40:31Z")

</div>

Hi mike,

Actually im using Webstorm as my IDE and I don’t seem to have any problems.

This is my environment

- OS: OSX El Capitan 10.11.4
- Go version 1.6.2
- Node version 5.10.1
- npm version 3.8.3
- $GOPATH set as env varible
- WebStorm 2016.1.2

to run the project just type make run

If this doesn’t point you in the right direction I’ll be more than happy to help

---

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mike/32/2232_2.png) [@mike](https://forum.mattermost.com/u/mike)\
**Post date:** [May 18, 2016, 4:31am UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513/3 "2016-05-18T04:31:41Z")

</div>

Hi

All the tests pass. Make run, runs correctly and I can navigate to the localhost:8065 URL and use the app normally. But when I go on Webstorm and hit run, I get this error:

```
/usr/local/go/bin/go run /Users/<username>/go/src/github.com/mattermost/platform/mattermost.go
panic: Failed to load system translations for 'en'

goroutine 1 [running]:
panic(0x77f280, 0xc82014b8b0)
	/usr/local/go/src/runtime/panic.go:464 +0x3e6
github.com/mattermost/platform/utils.GetTranslationsBySystemLocale(0xc82014b88b)
	/Users/<username>/go/src/github.com/mattermost/platform/utils/i18n.go:48 +0x18b
github.com/mattermost/platform/utils.InitTranslationsWithDir(0x9a8ba0, 0x4)
	/Users/<username>/go/src/github.com/mattermost/platform/utils/i18n.go:33 +0x2ee
github.com/mattermost/platform/utils.InitTranslations()
	/Users/<username>/go/src/github.com/mattermost/platform/utils/i18n.go:19 +0x2c
main.main()
	/Users/<username>/go/src/github.com/mattermost/platform/mattermost.go:80 +0x2c
exit status 2

Process finished with exit code 1

```

My system config is exact same as yours, except I’m running Node v5.4.1.

---

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mike/32/2232_2.png) [@mike](https://forum.mattermost.com/u/mike)\
**Post date:** [May 18, 2016, 4:53am UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513/4 "2016-05-18T04:53:06Z")

</div>

When inside the `/platform` directory the command `go run mattermost.go` works perfect.

But inside Webstorm when I hit run the following command runs (which is actually same):  
`/usr/local/go/bin/go run /Users/<username>/go/src/github.com/mattermost/platform/mattermost.go`

But I get the above error.

---

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mike/32/2232_2.png) [@mike](https://forum.mattermost.com/u/mike)\
**Post date:** [May 18, 2016, 5:40am UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513/5 "2016-05-18T05:40:08Z")

</div>

To hell with Webstorm, I got it working with VSCode.

---

<div class="post-metadata">

**Author:** ![elias](https://avatars.discourse-cdn.com/v4/letter/e/41988e/32.png) [@elias](https://forum.mattermost.com/u/elias)\
**Post date:** [May 18, 2016, 1:46pm UTC](https://forum.mattermost.com/t/panic-failed-to-load-system-translations-for-en/1513/6 "2016-05-18T13:46:01Z")

</div>

hahaha ok, but just in case.

Go plugin for jetbrains version 0.11.1295  
and check that GOPATH is shown under Languages & Framworks -\> Go -\> Go Libraries

This is what I have in run config  
Run kind: File  
Filename: path to mattermost.go  
Working directory: Path to cloned repo  
Program arguments: -config=config.json

Hope it helps
