iPROS24 Google Translate – Advanced usage

Notes on advanced usage of iPROS24 Google Translate plugin.

Contents

    Using the shortcode

    You can use the shortcode for better control of widget placement and styles.

    [ipros24_google_translate]
    [ipros24_google_translate attribution="white" show-language-codes="1"]
    

    The default is

    [ipros24_google_translate attribution="color" show-language-codes="0"]
    

    Attribution styles supported: color, grayscale, white, none.

    Examples

    In this example we embed the widget in a paragraph and change its background color.

    Using the custom event

    Plugin and theme developers can hook to a custom jQuery event to perform some actions after the page has been translated. This can be used e.g. to adjust element styles and positioning.

    Examples

    $ (window).on ("ipros24-translated", function ()	{
    
    	$ (window).trigger ("resize");
    });
    

    Notes on security

    Using external scripts on your site is always a security risk. If this is a concern do not check Translate Administration panel and Translate Login page options in the plugin settings.

    Posted in Software Tagged with: ,
    Zadarma - недорогие звонки по всему миру
    potato

    Xmas

    Merry Xmas, friend!

    Browser out of date

    You should update your browser. If you continue, some features of this site may not work as intended.

    No cookies

    You have to enable cookies for this site to work properly.

    No JavaScript

    You need to enable JavaScript to access all features of this site.

    About cookies

    By using this website you consent to the use of cookies. This is necessary for normal operation of the site, targeted advertising and traffic analysis. Read our full Privacy notice.