Cysill Ar-lein Widget

The Cysill Ar-lein widget can add Welsh language spelling and grammar checker capabilities to your website. The widget uses the Cysill Ar-lein API. Follow the steps below in order to add this widget :

  • Add the following two <script> tags to your website’s code. The first with your API Key, and the second with the URL to Cysill Ar-lein (N.B. you will need to register for your API key and input it instead of ‘YOUR_API_KEY’. See ‘How to register for an API key‘) :
    <script>
            var CYSILL_API_KEY = "YOUR_API_KEY";
    </script>
    <meta name="gwt:property" content="locale=cy" />
    <script type="text/javascript" language="javascript" src="https://api.techiaith.org/cysill/ui/CysillArlein/CysillArlein.nocache.js"></script>
  • Add a <div> with id=CysillArleinApp anywhere in your webpage:
    <div id="fy_nhudalen">
    <div id='CysillArleinApp'></div>
    </div>

You can find more information about this service, including documentation and demos, here. To see an example of this widget being used, follow this link to the popular Cysill Ar-lein page.