Vocab

green logo

The Vocab widget can recognise and underline words from dictionaries like Cysgair and the Termiadur Addysg on your webpage. Users can see the dictionary entries for these words by hovering their mouse over the underlined words.

Install

vocab logo
green logo

Just as with the Cysill Ar-lein widget, it’s very easy to add Vocab to your website (N.B. you will need to register for your API key, and then input it instead of ‘YOUR_API_KEY’. See How to register for an API key).

  1. Add the following two <script> tags to the code of your website:
    <script type='text/javascript'>	var vocabConfig = {		apikey : 'EICH_ALLWEDD_API',		language : 'cy',		start : 'body'	};		</script><script type='text/javascript' language='javascript' src='http://api.techiaith.org/vocab/ui/vocab/vocab.nocache.js'></script>
  2. Add a <div> tag with class=vocab_button anywhere on the page:
    <div class="vocab_button"></div>
This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.