jamuhl/i18next-node — Issue #5: error loading resourcefile
Author: panosru
Created: 2012-01-30 15:01:26+00:00
State: open

Hello, in my application I have this:

```js
i18n.init({
lng : 'el-GR'
, fallbackLng : 'en-US'
, resGetPath : $settings.paths.locales
, resSetPath : $settings.paths.locales
});
```
my locales path is like this:

+- locales
+-- el-GR
+--- translation.json
+-- en-US
+--- translation.json

So why it asks for these:

```
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/el/translation.json
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/en-us/translation.json
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/en-us/translation.json
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/en-us/translation.json
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/en/translation.json
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/en/translation.json
error loading resourcefile: /home/rnd/domains/design.rnd/public_html/app-ui/apps/main/system/locales/en/translation.json
```

why except of `el-GR` and `en-US` I should have `el` and `en` and `en-us` (lowercase) and not `el-gr` (lowercase) isn't it possible to have just `el-GR` and `en-US` only, as they are the only ones defined?

I could understand maybe to have `el` and `en` folder but seriously I can't understand the use case of having `en-us` with lowercase too and not having `el-gr` with lowercase too, it seems like a tiny bug for me.

Thanks