Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2567910 authored Nov 28, 2023
1 parent 10cfd30 commit b75190d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Translate your website with AI. Visit our website for more information: [Weploy.

---

### Simple setup (recommended)
# Simple setup (recommended)

1. Add the following script before the closing body tag.
```html
Expand All @@ -20,15 +20,15 @@ if you dont want to your page to be autoamticly translated into other languages
---


### Exclude text from beeing translated
## Exclude text from beeing translated
If you want to exclude text from beeing transalted, just add "weploy-exclude" as a class to the parent element.
```html
<div className="weploy-exclude">Don't translate me</div>
```

---

### Disable auto translate on first time visit
## Disable auto translate on first time visit

By default, weploy-translate will auto translate your website based on user's browser language on first time visit.

Expand All @@ -42,7 +42,11 @@ If you want to disable auto translate, you can add `data-disable-auto-translate=
---


### Installation via npm (NOT recommended)




# Installation via npm (NOT recommended)
⚠️ Please be advised that if you use npm you will have to update your npm package regularly since our APIs changed frequently and we cannot guarantee backwards compatibility.

```bash
Expand Down

0 comments on commit b75190d

Please sign in to comment.