DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Language dependent start page

Sort:
You are not authorized to post a reply.





New Around Here





    Hello,

    what is the best way to have langage specific start pages dependent on the browser settings of the user?

    The way I found out was to specify a "DefaultPage" as my start page that only contains a "Redirector" Module. This module checks the browser's language settings and redirects to "Startseite" if the browser language is "de-DE", else to "Home".

    Because in the mean time I get problems on this way I am looking for a better solution:

    1.) How can I obtain the real URL the user enters before DNN maps it to the start page?
    2.) or is there a DNN-specific way that does what I want?






    Growing Member





      Bernd, if you have Content Localization enabled on DNN, you can customize the home page independently for each language.
      You could add/remove modules for each language, so actually creating specific landing pages for each different language.
      Vicenç Masanas
      Disgrafic ITec SL Banyoles - Spain





      New Around Here





        Will DNN take browser settings into account?






        Advanced Member





          Yes, in the language options you have a checkbox to detect browser language. I am on mobile so can't check exactly where right now. But poke around the language settings and post back if you do not find it...
          You are not authorized to post a reply.

          These Forums are dedicated to the discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved