Category: Tips & Tricks

  • How to Find Great Software Developers (or be Found)

    How to Find Great Software Developers (or be Found)

    Whether you’re a software developer who wants to ace an interview or a technical recruiter looking for ways to locate and screen the best technical talent for your project, Toptal has created a comprehensive suite of hiring resources designed to make the interview and recruitment process efficient and successful.
    Software Developers Resources
    One of the most recent resources is the The Software Engineer’s Online Handbook which contains great tips and resources for engineers of all experience levels will find great tools for collaboration, open source projects, and free tutorials. Stay a step ahead with emerging industry trends and hiring forecasts, as well as the latest tools and technologies vetted by the elite Toptal team.

     

  • Integration of Google Translate in any website

    Do you need your website in multilingual but don’t want to repopulate content in multiple language. In that case you can use Google API to make your website multilingual.
    First of all decide the area where you want to add language selector.
    In that place you have to add this DIV section with ID so that Script find that block and append language dropdown.

    <div id="google_translate_element"></div>
    

    now add JS library for translation.

    <script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    Its up to you where you want to add this library either in head section or in footer. but I recommend you to place it in footer so that you web page load quickly and after that it call 3rd party library.
    now after this library call its function so that it start working. For that we have to use this JS snippt

    <script>
        function googleTranslateElementInit() {
            new google.translate.TranslateElement(
                {pageLanguage: 'en'},
                'google_translate_element'
            );
        }
    </script>

    That’s all.. now you will be able to see drop down on that place where you call that DIV section.
    7VgGB