globalseo
Advanced tools
Comparing version 2.1.44 to 2.1.45
{ | ||
"name": "globalseo", | ||
"version": "2.1.44", | ||
"version": "2.1.45", | ||
"description": "Translate your React.js or Next.js app with AI", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,9 +28,8 @@ Enhance your website with GPT-4 powered translations. For more details, visit our integration guides: [globalseo.ai/integration](https://www.globalseo.ai/integration). | ||
#### Script Configuration: | ||
1. Replace YOUR_API_KEY with the actual API key obtained from your project. | ||
2. Set `data-original-language` to your website's primary language code. | ||
3. Add the languages you want to translate your website to here: `data-allowed-languages`. | ||
1. **Important:** Replace YOUR_API_KEY with the actual API key obtained from your project. This is crucial for enabling the translation services. | ||
2. Language Settings: data-original-language: Set this attribute to your website's primary language code (e.g., en for English, fr for French). | ||
3. data-allowed-languages: Configure this according to your Globalseo project's requirements. List the language codes (e.g., en, fr, de) that you wish to support on your site. | ||
#### Optional Configuration: | ||
- **data-use-browser-language**: Automatically translates the website based on the user's browser language. Set to `false` to disable. | ||
- **data-use-browser-language**: Automatically sets the language based on the user's browser language. Set to `false` to disable. | ||
- **data-exclude-classes**: List CSS class names to exclude from translation, separated by commas (e.g., `chatbot, no-translate`). | ||
@@ -37,0 +36,0 @@ - **data-replace-links**: Replaces links with translated URLs by appending the language code. Set to `false` to disable. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
482380
75