How to add Relay QL value to isomorphic relay router
<p>My application need support for localization. I am using isomorphic relay router.</p>

<pre><code>const customQueries = {
  viewer: () =&gt; Relay.QL'
  fragment on JobSeekerEntry{
      language
  }
  '
};

export default [
    {
        path: '/',
        component: Index,
        queries: ViewerQueries,
        indexRoute: {
            component: Home,
            onEnter: ({params}, replace) =&gt; replace("/" + customQueries.viewer.lanaguage  ),
            queries: ViewerQueries,
            prepareParams: () =&gt; ({status: 'any'}),
        },
        childRoutes: [
            {
                path: "/:language",
                component: Home,
                queries: ViewerQueries,

            },
            {
                path: "/:language/status",
                component: Test,
                queries: ViewerQueries,

            },
            {
                path: '/:language/test/:user',
                component: Home,
                queries: ViewerQueries,
            },
        ],
    },
];
</code></pre>

<p>In the above code sample is want  user to redirect according to his/her preffered lanaguage. For SEO support I want to display www.exmaple.com/en for english and www.example.com/jp for japanese etc. "en" and "jp" values are come from graphql (from server). I want to assign those values as a router param. Specially when page renders from server side. Please help me resolve this.</p>