• Home
  • Add-ons
  • Templates
  • Page builder
  • Blog
  • Home
  • Add-ons
  • Templates
  • Page builder
  • Blog
    02. November 2023

    How to create a professional multilingual website

    How to create a professional multilingual website [ Tutorial ]

    I am pleased to present the new multilingual Jimdo themes, featuring advanced functionalities that enhance the appeal and user-friendliness of your website for visitors.

    What's new

    • Dropdown navigation for each language page
    • Enhanced navigation structure for default system pages
    • Language selection option
    • Added options for translating online store pages
    • Multilingual footer

    Dropdown navigation

    You can now use dropdown navigation for each language page of your website without any coding required. This option is available for all new multilingual themes, going beyond the standard navigation provided before.

     

    Default system pages

    The secondary menu (2nd level) is now accessible for default Jimdo system pages, including About, Blog, Online Store, and 404 pages. This feature ensures that your website maintains a professional appearance, regardless of whether you have as a simple personal blog or an online store.

     

    Professional navigation structure for multilingual pages add-5 has-shadow

    Language Selection option

    For the language selection option, you can now opt for either a standard navigation (if you have only two different languages) or a selection option for more than two languages.

    language selection option
    • To enable the select options, navigate to Design, then go to Advanced and select Custom Template. Next, open the HTML tab. Within the Template global configuration, add the class "has-select-nav".

    Online store pages

    You can add the below script to the footer section of your website. It will enable website visitors to use the selection option to translate the content into various languages.

     

    Translate your page into different languages has-shadow add-5
    
    <script>
    /* <![CDATA[ */
        // Check if the body has the class 'j-shop-special-page'
    if (document.body.classList.contains('j-shop-special-page')) {
        // Create the google translate div
        var translateDiv = document.createElement('div');
        translateDiv.id = 'google_translate_element';
        translateDiv.style.maxHeight = '40px';
    
        // Select the cc-checkout-wrapper element
        var checkoutWrapper = document.getElementById('cc-checkout-wrapper');
    
        // Get the first child of cc-checkout-wrapper
        var firstChild = checkoutWrapper.firstChild;
    
        // Insert the google translate div before the first child
        checkoutWrapper.insertBefore(translateDiv, firstChild);
    
        // Create a script element for translation
        var scriptElement = document.createElement('script');
        scriptElement.innerHTML = `
            function googleTranslateElementInit() {
                new google.translate.TranslateElement(
                    { includedLanguages: 'de,en,es,fr,it,nl,no,sv,da,pt,ru,ja,zh-CN,tr,el' },
                    'google_translate_element'
                );
            }`;
    
        // Append the script to the checkout wrapper
        checkoutWrapper.insertBefore(scriptElement, firstChild);
    
        // Create a script element for the Google Translate API
        var translateAPIScript = document.createElement('script');
        translateAPIScript.type = 'text/javascript';
        translateAPIScript.src = '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit';
    
        // Append the API script to the checkout wrapper
        checkoutWrapper.insertBefore(translateAPIScript, firstChild);
    }
    
    /*]]>*/
    </script>
    
    
    
    
    

    Multilingual Footer

    Here is a new tutorial that explains how to add a more effective multilingual footer

    by following these steps:

    • For each language, add a module "Columns" to the footer.
    • Within one of the columns, insert a widget/HTML element with the variable<var>lang-1</var>.
    • If the first language of your website is English, the variable lang-1 corresponds to English pages, lang-2 to the second language, and so on. So each module "Columns" will be displayed only for specific language while in admin mode you'll be able to see and edit all elements.
    • By default, the setup allows for five different languages, but you can include more languages if you like complicated things:)

     

    Demo pages

    Here's an example of the new multilingual templates in use: one with the standard language menu and another with the selection option.

    Hotel website jimdo-template
    Hotel website
    Altona multilingual theme jimdo-template
    Altona theme

    The fine print

    Testing multilingual theme options in various CMS, I can assure you that no one provides a perfect solution as there are always limitations and its pros and cons as you can see in this tutorial but I hope you find it useful and can draw inspiration for one of your future projects.

     

    tagPlaceholderTags:

    Write a comment

    Comments: 0

    Resources

    • Overview
    • Default vs Custom template
    • Style Editor
    • Global Updates
    • Theme Updates
    • Common support issues

    Features

    • Templates
    • Page Builder
    • Add-ons
    • Landing pages
    • Alt Classes
    • Matrix variables

    Get inspired

    • Most popular templates
    • Website examples
    • Custom widgets
    • Block Elements
    • Fluid Sections

    Quick links

    • Marketplace
    • Matrix Themes for Agencies
    • Matrix Themes for Web Designers
    • Small Business websites
    • Create a new website
    hide-in-doc-page

    draggable-logo

    Showcase

     

    Main colors
       bg-primary
       bg-primary-light
       bg-primary-dark
       bg-secondary
       bg-secondary-dark
    Template sections
       body
       top-header
       header
       content
    Footer Styles
       background
       text color
       link color
       horizontal line
    Buttons
       style 1
       style 2
       style 3
       text color
    Other elements
      social icons
      navigation color
      subnav background
    Mobile navigation
       background color
       navigation color
    Template configurations
     
    has-right-nav has-large-header g-font m-text-16
     
    Navigation styles
     
    size-16 weight-400 snip-nav
     
    Content styles
     
    form-white
     
    Footer styles
     
    o-form color-white

     

    Typography

    Heading H1
    weight-600
     
    Heading H2
    weight-600
     
    Heading H3
    weight-500
     
    Buttons
    weight-400
     
    Animations
     

    Note:
    All changes made here will be applied to your entire website.
    is-switcher

    Stand out with professional Jimdo website

    About | Privacy Policy | Cookie Policy | Sitemap
    Created with Jimdo
    Log in Log out | Edit
    • Scroll to top
    Close