@beguerec/translate

##There needs to be a Locales folders with languages subfolder

Usage no npm install needed!

<script type="module">
  import beguerecTranslate from 'https://cdn.skypack.dev/@beguerec/translate';
</script>

README

Translation bot

Localize the text in your application!

Microsoft translation API

Translator Text is a cloud-based machine translation service you can use to translate text in near real-time through a simple REST API call. The API uses modern neural machine translation technology and offers statistical machine translation technology. Custom Translator is an extension of the Translator Text API which allows you to build neural translation systems. The customized translation system can be used to translate text with the Translator Text API

How to use

  1. Sign up for the Translator Text API
  2. Retrieve your authentication key from the translator text API
  3. Create your language configuration file, save it in a JSON format. Example:
{
  "Homepage": {
    "title": "I love all of my new translations!",
    "body": "My application is ready to be more accessible to more people"
  }
}
  1. Install NPM package:

npm install @beguerec/translate