title: i18next 'resGetPath' not implementing in plugin initialization
body: <p>I would like to store translation.json files with this project, and have them accessed by in18next. Unfortunately I can't seem to implement the <code>resGetPath</code> attribute correctly. When I initialize the plugin with the <code>resources</code> object, it works fine. I'm guessing there is something wrong with the path or the structure of the json file, but I can't seem to find a similar issue on SO or any of the forums for i18next (most people have larger projects that just pull from a server). I would like to simply reference the local translation file based on whatever locale is chosen by the user. Thanks for your time =). </p>
  
  <p>Here is the code for translation.js which loads fine into index.html: </p>
  
  <pre><code>$(document).ready(function() {
    i18next.init({
      lng: 'en', 
      // resources: { 
      //   en: {
      //     translation: {
      //       nav: {
      //         newInvoice: 'Hakuna Matata'
      //       }
      //     }
      //   }
      // },
      resGetPath:'../locales/{{lng}}/translation.json',
    }, function (err, t) {
        jqueryI18next.init(i18next, $, {
          tName: 't', // --&gt; appends $.t = i18next.t
          i18nName: 'i18n', // --&gt; appends $.i18n = i18next
          handleName: 'localize', // --&gt; appends $(selector).localize(opts);
          selectorAttr: 'data-i18n', // selector for translating elements
          targetAttr: 'i18n-target', // data-() attribute to grab target element to translate (if diffrent then itself)
          optionsAttr: 'i18n-options', // data-() attribute that contains options, will load/set if useOptionsAttr = true
          useOptionsAttr: false, // see optionsAttr
          parseDefaultValueFromContent: true
        });
  
        $('#tempTarget').localize();
      })
  });
  </code></pre>
  
  <p>here is the locales/en/translations.js:</p>
  
  <pre><code>{
    "nav": {
      "newInvoice": "somethaaaang"
    }
  }
  </code></pre>
  
  <p>here is my directory:</p>
  
  <pre><code>index.html
  locales
     en
        translation.json
  </code></pre>
  
  <p>this is the line in the html that is correctly targeted with the <code>resources</code> object but not with the <code>reGetPath</code> attribute:</p>
  
  <pre><code>&lt;a href="/new-invoice/" data-i18n='nav.newInvoice' id='tempTarget' class="panel-close"&gt;New Invoice&lt;/a&gt;
  </code></pre>