We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16899
    • 284 Posts
    Hi guys

    I have a site with 2 contexts: web, and german (culture key: de). In the web (english) context, I have an alias that begin with "de" design-and-technology.html.

    The problem is the following: Babel only takes the first 2 letters after the sitename and transfers it to its culture key, so when I load www.site.com/design-and-technology.html, it considers it as www.site.com/de/sign-and-technology.html, therefore directing me to a 404 page.

    Any solution for this problem?

    I followed this tutorial - http://designfromwithin.com/blog-webdesign-development/2012/01/12/modx-multilingual-setting-up-babel-and-have-a-website-with-multible-languages/

    Many thanks in advance,
    Nuno
      • 42168
      • 2 Posts
      I have the same problem.. I found this issue https://github.com/mikrobi/babel/issues/48, but it is not really a solution? Does any one know what to do?

      Greetings,
      Joyce
        • 36818
        • 119 Posts
        Hi Joyce,

        Do you have tested if the gateway-plugin is causing the mismatch? If so, this problem is not one of Babel itself. Then you have to alter the plugin.
        You could try to change your gateway-plugin with the one that is described by Menno in his tutorial mentioned above.
        But then you probabely should also check your .htaccess-rules.

        hope this helps.