LWT JavaScript API
    Preparing search index...
    • Create a dictionary URL.

      JS alter ego of the createTheDictLink PHP function.

      Case 1: url without "lwt_term": append term Case 2: url with "lwt_term": substitute term

      Parameters

      • u: string

        Dictionary URL

      • w: string

        Term to be inserted in the URL

      Returns string

      A link to external dictionary to get a translation of the word

      2.6.0-fork Internals rewrote, do no longer use PHP code.

      2.7.0-fork Use "lwt_term" placeholder

      3.1.0 Removed support for deprecated "###" placeholder