DNN Forums

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

Breadcrumb languages

Sort:
You are not authorized to post a reply.





New Around Here





    My site has two languages (English and Arabic)
    The Breadcrumb on the Arabic page is showing "Home | <Parent page name in Arabic> | <Current page name in Arabic>
    Questions:
    1. How to change the word "Home" to the Arabic word?
    2. The hyperlink for <Parent page name in Arabic> is linked to the English version. How to change to the /ar instead of /en?






    Veteran Member





      Posted By Gillian on 4/30/2024 4:59 AM
      My site has two languages (English and Arabic)
      The Breadcrumb on the Arabic page is showing "Home | |
      Questions:
      1. How to change the word "Home" to the Arabic word?
      2. The hyperlink for is linked to the English version. How to change to the /ar instead of /en?

       

      Gillian, I would recommend you submit a new forum post since this is not the subject of the original poster.

       

       

      David Poindexter


      Creator:







      Growing Member





        I split it off into a separate thread (there is a useful but buggy Forums feature to split a thread)

        https://dnncommunity.org/...readcrumb-languages/






        Veteran Member





          Awesome - thanks John!

          Gillian, I believe you will find this resource key in Global Resources > SharedResources > Home.Text.

          David Poindexter


          Creator:







          New Around Here





            Hi John. Thanks for your help!

            Hi David. I've tried changing the "Localized Value" for Home to Arabic word but it doesnt seem working.
            Also how about the hyperlink of the "<Parent page name in Arabic>"?

            I googled and found someone recommend to use DDR menu instead of DNN Breadcrumb for better flexibility.
            https://demo.40fingers.ne...Examples/Breadcrumbs
            Any thoughts?





            Veteran Member





              Localization is quite a complex subject and others may be more qualified to help. The context in which you are working, and how you are going about managing localized values, needs to be considered (admin-only text, page management, content, etc.). In general, you need to have a "language pack" installed/enabled for each language you wish to support on the site. For localized text managed within the persona bar of DNN v9.x.x, you will see a language switcher at the top right corner of any view/page that supports localization. You can switch to the language you want to manage, update the value, and save. For more some things, you would need to edit the appropriate resource file(s). For content, this really depends on the module and its level of support and features for localization. Then there is the capability within a theme to use a language switcher theme object so the site visitor can switch languages.

              Bottom line...the more specific you can be about your DNN instance and what you are trying to achieve, the higher the chance will be for someone to provide specific guidance.

              David Poindexter


              Creator:







              Veteran Member





                As there are many ways to create a breadcrumb in a DNN Theme, do you know what Theme you are using?
                Can you post the code in the Theme for the breadcrumb?

                BTW, I crated that example using DDR. I would only use that option unless you have some complex requirements. Normally the default Breadcrumb Theme Object should be fine.

                 






                Advanced Member





                  If it is the DNN breadcrumbs SkinObject, then it appears to me from the code that it will use the localized page name. Which means you would need to change the home page name in each locale.

                  https://github.com/dnnsof...adCrumb.ascx.cs#L127
                  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