title: Vue i18n - How do I get the current locale inside the i18n component options?
body: <p>I'm trying to expand the already loaded localizations for a specific component and I would like to do something like this:</p>
  
  <pre><code>export default {
    name: 'General',
    components: {
      Header,
      Content,
      NextPageButton
    },
    i18n: {
      messages: {
        [this.$i18n.locale]: { message: require('@/locales/' + this.$i18n.locale + '/tso/general.json') }
      }
    }
  </code></pre>
  
  <p>Problem is of course that the $i18n is undefined inside the i18n options. How can I retrieve the current locale here?</p>