DNN Forums

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

Help with Language Issue

Sort:
You are not authorized to post a reply.





New Around Here





    Hello

    I setup a default language en-GB. All was working as expected. 

    So I disabled the en-US language and suddenly I am presented with a 404 error. I am unable to access the site again to revert my changes. 

    Is the a table entry I can edit to renable the language? I have checked the default tables but there is no field for enable or disble of the language.

    Thanks

     

    Dan






    Veteran Member





      Hi Dan,
      first you should try restart IIS application pool for your website (saving web.config file unchanged will have same effect) and clear local browser cache for the domain) to make sure, your changes become effective.

      If this doesn't help you may re-enable "en-US" in table portallanguages (it's the record where culturecode is Null). Make sure there is a record in table PortalLocalization for your PortalID with CultureCode=Null as well.
      Clear Browser Cache and restart application again afterwards for database changes to become effective.






      New Around Here





        Thank Sebastian 

        Non of these worked for me. I am unable to upload images of my db so I'll try to descibe them

        Table Langauages

        LanguageID    CultureCode    CultureName    FallbackCulture
        1    en-US    English (United States)    en-GB
        2    en-GB    English (United Kingdom)    en-GB

        Table PortalLocalization

        PortalID    CultureCode    PortalName    LogoFile    FooterText
        0    en-US    CropDMS     logo.jpg    Copyright [year] by 

        Table PortalLanguages

        PortalLanguageID    PortalID    LanguageID    CreatedByUserID
        2                                     0                1                         1

        I am using a different browser for testing and I've restarted the app pool and IIS services

         

        Thanks

         

        Dan






        Veteran Member





          I don't know what version of DNN you are using, but there should have been a record for en-GB in portal localization.
          I would try changing the one for en-US to en-GB (and restart the site etc)

          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