Jump to content

jobl

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by jobl

  1. Thanks, i'll update the module description according to your suggestions. This module will only work if you installed the LanguageSupport module and let pw handle the urls on a per page basis. Maybe i should make it required. Please correct me if i'm wrong but the API says it's using the "name" variable to generate the url e.g. a language wich has the name german will produce a localized url like /german/yourpageingerman
  2. I just pushed my first module to github: https://github.com/jobl/LanguageRedirectToDefault It's basically a redirect to the default language if the user hits a inactive localized link wich normally throws a 404. If the page isn't viewable in the default language it does nothing and let pw handle the request (throws a 404). Some questions on my mind: - Is the naming right? - Is there a better method to check for installed languages? Any input is welcome. Have a nice day - jobl
×
×
  • Create New...