{"id":21100756,"url":"https://github.com/desentio/globalseo","last_synced_at":"2025-05-16T17:30:43.964Z","repository":{"id":164315607,"uuid":"639767586","full_name":"desentio/globalseo","owner":"desentio","description":"Translate your website with ai","archived":false,"fork":false,"pushed_at":"2025-02-21T12:37:04.000Z","size":1314,"stargazers_count":7,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T18:25:28.340Z","etag":null,"topics":["ai","i18n","i18n-tool","i18next","i18next-backend","localization","translation"],"latest_commit_sha":null,"homepage":"https://globalseo.ai","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desentio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-12T07:21:17.000Z","updated_at":"2025-02-24T15:12:38.000Z","dependencies_parsed_at":"2024-02-29T12:49:06.314Z","dependency_job_id":"b679995e-bd27-4a1c-8913-1db9416faeed","html_url":"https://github.com/desentio/globalseo","commit_stats":{"total_commits":699,"total_committers":4,"mean_commits":174.75,"dds":0.5007153075822603,"last_synced_commit":"1dd93bfa6fe247cb5b1e4a974a7c5bcbfb1b8b36"},"previous_names":["desentio/globalseo","desentio/weploy-translate"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desentio%2Fglobalseo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desentio%2Fglobalseo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desentio%2Fglobalseo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desentio%2Fglobalseo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desentio","download_url":"https://codeload.github.com/desentio/globalseo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253523688,"owners_count":21921815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","i18n","i18n-tool","i18next","i18next-backend","localization","translation"],"created_at":"2024-11-19T23:28:58.338Z","updated_at":"2025-05-16T17:30:43.958Z","avatar_url":"https://github.com/desentio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Globalseo.ai Integration Guide\n\n## Table of Contents\n1. [About the Integration](#about-the-integration)\n2. [Script Tag Example](#script-tag-example)\n3. [Optional Configuration](#optional-configuration)\n4. [Server-Side Rendering Configuration](#server-side-rendering-configuration)\n5. [Excluding Text from Translation](#excluding-text-from-translation)\n7. [Advanced Configuration](#advanced-configuration)\n\n## About the Integration\nTo set up Globalseo, follow these steps:\n1. **Sign Up**: Go to [Globalseo](https://app.globalseo.ai) and sign up.\n2. **Create a Project**: Select the languages you want to translate your website into.\n3. **Select Integration Mode**: Choose how you want your website to be translated. Then click \"Save\" and follow the integration steps on the website.\n\n## Script Tag Example\nBelow is a script tag example with all possible configurations:\n\n```html\n\u003cscript\n    src=\"https://cdn.globalseo.ai/translate.js\"\n    data-use-browser-language=\"true\"\n    data-exclude-classes=\"chatbot,no-translate\"\n    data-exclude-ids=\"user-comment,code-snippet\"\n    data-exclude-paths=\"/admin,/blog\"\n    data-translation-mode=\"subdomain\"\n    data-translate-attributes=\"true\"\n    data-lang-parameter=\"lang\"\n    data-timeout=\"3000\"\n    data-replace-links=\"true\"\n    data-custom-language-code=\"kk=kz\"\n    data-exclude-contents=\"{{regex1}} {{regex2}}\"\n    data-translate-form-placeholder=\"true\"\n    data-dynamic-translation=\"true\"\n    data-translate-select-options=\"true\"\u003e\n\u003c/script\u003e\n```\n\n## Optional Configuration\n- **data-use-browser-language**: Automatically sets the language based on the user's browser language. Set to `false` to disable.\n- **data-exclude-classes**: List CSS class names to exclude from translation, separated by commas (e.g., `chatbot, no-translate`).\n- **data-exclude-ids**: List IDs to exclude from translation, separated by commas (e.g., `user-comment, code-snippet`).\n- **data-exclude-paths**: List URL paths to exclude from translation, separated by commas (e.g., `/admin, /blog`). Note: Each path should start with a `/`.\n\n## Server-Side Rendering Configuration\n- **data-translation-mode**: Modifies the translated pages logic. Set to `subdomain` (e.g., `de.domain.com`) or `subdirectory` (e.g., `domain.com/de`). *Do not use* this option unless using SSR (available in higher plans).\n\n## Excluding Text from Translation\nTo prevent translation of specific content, add the class `globalseo-exclude` to elements, such as chat pop-ups or user-generated text.\n\n**Note:** Input fields and iframes are ignored by default.\n\n## Advanced Configuration\n- **data-translate-attributes**: Translates `title` \u0026 `alt` attributes of images and links for improved SEO and accessibility. Set to `true` to enable.\n- **data-lang-parameter**: Custom URL parameter for setting the language (default: `lang`).\n- **data-timeout**: Delay (in milliseconds) before the translation service activates, ensuring full page load.\n- **data-replace-links**: Replaces links with translated URLs by appending the language code. Set to `false` to disable.\n- **data-custom-language-code**: Custom language code mapping (e.g., `kk=kz` for \"KZ\" instead of \"KK\").\n- **data-exclude-contents**: Excludes specific text from translation using regular expressions (`{{regex1}} {{regex2}}`).\n- **data-translate-form-placeholder**: Translates form placeholders. Set to `true` to enable.\n- **data-dynamic-translation**: Allows automatic generation of new translations. Set to `false` to disable. If quota is reached, setting this to `false` prevents error messages from appearing on your site.\n- **data-translate-select-options**: Translates options inside `\u003cselect\u003e` elements. Set to `true` to enable. The `globalseo-exclude` class is still respected.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesentio%2Fglobalseo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesentio%2Fglobalseo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesentio%2Fglobalseo/lists"}