Skip to content

Conversation

@dowithless
Copy link
Contributor

Added language selection links to the README for easier access to translated versions: Chinese, Russian, Spanish, Japanese, French, Portuguese, German, and Korean.

Description

DCO Affirmation

I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.

borisarzentar and others added 11 commits May 31, 2025 02:35
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Signed-off-by: Diego B Theuerkauf <[email protected]>
Co-authored-by: vasilije <[email protected]>
Co-authored-by: Igor Ilic <[email protected]>
Co-authored-by: Vasilije <[email protected]>
Co-authored-by: Igor Ilic <[email protected]>
Co-authored-by: Hande <[email protected]>
Co-authored-by: Matea Pesic <[email protected]>
Co-authored-by: hajdul88 <[email protected]>
Co-authored-by: Daniel Molnar <[email protected]>
Co-authored-by: Diego Baptista Theuerkauf <[email protected]>
Co-authored-by: Dmitrii Galkin <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: lxobr <[email protected]>
Co-authored-by: github-actions[bot] <[email protected]>
<!-- .github/pull_request_template.md -->

## Description
Update migration example for upcoming blog on main branch

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
…#906)

<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
<!-- .github/pull_request_template.md -->

## Description
Resolve user already exist issue for UI

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Co-authored-by: Boris Arzentar <[email protected]>
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
Added language selection links to the README for easier access to
translated versions: Chinese, Russian, Spanish, Japanese, French,
Portuguese, German, and Korean.
@pull-checklist
Copy link

pull-checklist bot commented Jun 6, 2025

Please make sure all the checkboxes are checked:

  • I have tested these changes locally.
  • I have reviewed the code changes.
  • I have added end-to-end and unit tests (if applicable).
  • I have updated the documentation and README.md file (if necessary).
  • I have removed unnecessary code and debug statements.
  • PR title is clear and follows the convention.
  • I have tagged reviewers or team members for feedback.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 6, 2025

Walkthrough

The "Available Languages" section in the README.md was updated to use external links from readme-i18n.com for multiple languages, replacing local markdown file links. The language list was expanded, formatting changed to use pipes, and language names are now in their native scripts or names.

Changes

File(s) Change Summary
README.md Updated "Available Languages" section: replaced local links with external URLs, expanded languages, changed formatting and language name presentation.

Possibly related PRs

Suggested reviewers

  • Vasilije1990

Poem

🐇
Languages bloom in README’s light,
From local links to global flight.
Scripts and names in native hue,
Pipes connect the world anew.
With every tongue, our docs expand—
A rabbit hops across the land!
🌍📚


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
README.md (2)

40-47: Optional: Add target="_blank" and rel="noopener noreferrer" to external links.
Opening translations in a new tab improves UX and prevents potential security issues with window.opener.


42-42: Nit: Capitalize "français" for consistency.
Other language names start with a capital letter—consider updating this entry to Français.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f7babc1 and 90d04f2.

📒 Files selected for processing (1)
  • README.md (1 hunks)

Comment on lines +40 to +47
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=de">Deutsch</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=es">Español</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=fr">français</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=ja">日本語</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=ko">한국어</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=pt">Português</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=ru">Русский</a> |
<a href="https://www.readme-i18n.com/topoteretes/cognee?lang=zh">中文</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

❓ Verification inconclusive

Verify external translation links.
Ensure each https://www.readme-i18n.com/topoteretes/cognee?lang=<code> URL returns HTTP 200 and serves the correct language.


🏁 Script executed:

#!/usr/bin/env bash
# Check that all language links resolve successfully
for lang in de es fr ja ko pt ru zh; do
  status=$(curl -s -o /dev/null -w '%{http_code}' "https://www.readme-i18n.com/topoteretes/cognee?lang=$lang")
  if [ "$status" -ne 200 ]; then
    echo "Link for $lang returned HTTP $status"
  fi
done

Length of output: 1375


🏁 Script executed:

#!/usr/bin/env bash
# Verify that each translation page sets the correct HTML lang attribute
for lang in de es fr ja ko pt ru zh; do
  url="https://www.readme-i18n.com/topoteretes/cognee?lang=$lang"
  content=$(curl -s "$url")
  if ! echo "$content" | grep -E '<html[^>]*lang="'"$lang"'"' >/dev/null; then
    echo "Expected html lang=\"$lang\" not found at $url"
  fi
done

Length of output: 85020


Fix missing HTML lang attributes on translated README pages
Verification shows that while each translation link returns HTTP 200, the served pages still use <html lang="en"> for all languages instead of their respective codes (de, es, fr, etc.). This should be updated to improve accessibility and SEO.

• Affected URLs (lines 40–47 in README.md):

Suggested fix:
Ensure the server-side renderer or language switch logic injects the correct lang attribute, e.g.:

- <html lang="en" class="dark">
+ <html lang="{{ userLang }}" class="dark">

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In README.md lines 40 to 47, the external translation links point to pages that
all use <html lang="en"> instead of their respective language codes, which harms
accessibility and SEO. To fix this, update the server-side rendering or language
switch logic that generates these translated pages to dynamically set the <html>
tag's lang attribute to the correct language code based on the lang query
parameter in the URL. Verify that each translated page's HTML root element uses
the appropriate lang attribute matching the language code in the URL.

@Vasilije1990 Vasilije1990 changed the base branch from main to dev June 7, 2025 14:50
@Vasilije1990
Copy link
Contributor

closing, opens up too many changes. please open a PR with only suggested ones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants