Skip to content

Commit

Permalink
English and Japanese translation completed
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyue authored and Suyue committed Apr 7, 2024
1 parent f2601f0 commit 7f0e49f
Show file tree
Hide file tree
Showing 78 changed files with 1,991 additions and 30 deletions.
28 changes: 28 additions & 0 deletions pages/_meta.ja-JP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"*": {
"theme": {
"footer": false
}
},
"index": {
"title": "導入",
"type": "page",
"display": "hidden"
},
"docs": {
"title": "書類",
"type": "page"
},
"blog": {
"title": "ブログ",
"type": "page"
},
"changelog": {
"title": "記録を更新",
"type": "page"
},
"contact": {
"title": "お問い合わせください",
"type": "page"
}
}
12 changes: 12 additions & 0 deletions pages/blog.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Blog
searchable: false
---

<h1 className=" text-4xl tracking-tighter text-center font-extrabold md:text-5xl mt-8 pb-6">
Chat2DB Blog
</h1>

import BlogIndex from "../components/blog-index";

<BlogIndex />
1 change: 0 additions & 1 deletion pages/contact.en-US.mdx

This file was deleted.

1 change: 0 additions & 1 deletion pages/contact.zh-CN.mdx

This file was deleted.

12 changes: 8 additions & 4 deletions pages/docs/_meta.en-US.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"start-guide": "Start Guide",
"ai": "AI",
"contact_us":"Contact Us"

"start-guide": "Start-guide",
"connection": "Connection",
"connection-manage": "Connection-manage",
"dashboard": "Dashboard",
"ai-chat": "AI-Chat",
"settings": "Settings",
"contact-us": "Contact us",
"service": "Service and Privacy Agreement"
}
10 changes: 8 additions & 2 deletions pages/docs/_meta.ja-JP.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"start-guide": "快速开始",
"ai": "人工智能"
"start-guide": "はじめに",
"connection": "接続",
"connection-manage": "データベース管理",
"dashboard": "ダッシュボード",
"ai-chat": "AIチャット",
"settings": "設定",
"contact-us": "お問い合わせください",
"service": "サービスとプライバシーに関する契約"
}
9 changes: 9 additions & 0 deletions pages/docs/ai-chat/_meta.en-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"text2chart": "Text2chart",
"text2sql": "Text2sql",
"sql2text": "SQL explanation",
"sql-copilot": "SQL-Copilot",
"sql-optimization": "SQL-Optimization",
"sqltransform": "SQL-Transform"

}
9 changes: 9 additions & 0 deletions pages/docs/ai-chat/_meta.ja-JP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"text2chart": "AIテキスト生成チャート",
"text2sql": "AI自然言語生成SQL",
"sql2text": "AI SQLから自然言語へ",
"sql-copilot": "AI SQL スマート プロンプト",
"sql-optimization": "AI SQL 最適化",
"sqltransform": "AI SQL変換"

}
7 changes: 7 additions & 0 deletions pages/docs/ai-chat/sql-copilot.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SQL-Copilot

SQL Copilot provides real-time code suggestions and completion, helping users write complex SQL queries more efficiently.
It can also generate corresponding SQL code based on questions or requirements entered by users.
It is based on advanced artificial intelligence technology and is designed to help developers write SQL queries more easily.

!['sql-copilot'](/image/AI-image/sql-copilot.gif)
6 changes: 6 additions & 0 deletions pages/docs/ai-chat/sql-copilot.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# AI SQL スマート プロンプト

SQL Copilot は、リアルタイムのコード提案と補完を提供し、ユーザーが複雑な SQL クエリをより効率的に作成できるようにします。
また、ユーザーが入力した質問や要件に基づいて対応する SQL コードを生成することもでき、高度な人工知能テクノロジーに基づいており、開発者が SQL クエリをより簡単に作成できるように設計されています。

!['sql-copilot'](/image/AI-image/sql-copilot.gif)
7 changes: 7 additions & 0 deletions pages/docs/ai-chat/sql-optimization.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SQL-Optimization

- By analyzing database structure, query statistics, and actual query execution, AI SQL Optimization can automatically identify potential performance bottlenecks and optimization opportunities.
- It can automatically adjust query execution plans, index designs, and data storage methods to minimize query time and resource consumption.
- In addition, AI SQL optimization can dynamically adjust based on real-time system load and query patterns to adapt to changing workloads and needs.

!['SQL-Optimization2'](/image/AI-image/SQL-Optimization2.gif)
7 changes: 7 additions & 0 deletions pages/docs/ai-chat/sql-optimization.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AI SQL 最適化

- AI SQL Optimization は、データベース構造、クエリ統計、実際のクエリ実行を分析することで、潜在的なパフォーマンスのボトルネックと最適化の機会を自動的に特定します。
- クエリ実行プラン、インデックス設計、データ ストレージ方法を自動的に調整して、クエリ時間とリソース消費を最小限に抑えることができます。
- さらに、AI SQL 最適化は、リアルタイムのシステム負荷とクエリ パターンに基づいて動的に調整し、変化するワークロードとニーズに適応します。

!['SQL-Optimization2'](/image/AI-image/SQL-Optimization2.gif)
6 changes: 6 additions & 0 deletions pages/docs/ai-chat/sql2text.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SQL explanation

When a piece of SQL is very complex, it is difficult for us to understand its meaning. Converting SQL into natural language can make it easier for us to understand the meaning of SQL.
This article explains how to use an AI model to convert SQL into natural language.

!['openconnection'](/image/AI-image/sql2text.gif)
7 changes: 7 additions & 0 deletions pages/docs/ai-chat/sql2text.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AI SQLから自然言語へ

SQL が非常に複雑な場合、その意味を理解するのは困難です。
SQL を自然言語に変換すると、SQL の意味が理解しやすくなります。
この記事では、AI モデルを使用して SQL を自然言語に変換する方法について説明します。

!['openconnection'](/image/AI-image/sql2text.gif)
6 changes: 6 additions & 0 deletions pages/docs/ai-chat/sqltransform.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SQL-Transform

AI SQL translation converts specific SQL dialects of different database systems into SQL dialects of other database systems.
For example, convert a MySQL SQL query to an Oracle SQL query.

!['sql-transformation'](/image/AI-image/sql-transformation.gif)
6 changes: 6 additions & 0 deletions pages/docs/ai-chat/sqltransform.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# AI SQL変換

AI SQL 変換は、さまざまなデータベース システムの特定の SQL 言語を他のデータベース システムの SQL 言語に変換します。
たとえば、MySQL SQL クエリを Oracle SQL クエリに変換します。

!['sql-transformation'](/image/AI-image/sql-transformation.gif)
12 changes: 12 additions & 0 deletions pages/docs/ai-chat/text2chart.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AI text generation chart

AI automatically generated reports can usually automatically select the most appropriate data source according to your needs, and generate well-visualized reports based on the characteristics and trends of the data.
These reports can include various charts, tables, summary data, etc. to help you understand the data more intuitively and make effective decisions.

!['dashboard-generation'](/image/dashboard/dashboard-generation.gif)

**Kind tips**
- New connections will be synchronized automatically, and historical connections must be synchronized manually.
- If the data cannot be found, try synchronizing the database first (as shown below)

!['sync database'](/image/AI-image/sync.png)
12 changes: 12 additions & 0 deletions pages/docs/ai-chat/text2chart.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AIテキスト生成チャート

AI が自動生成するレポートは、通常、ニーズに応じて最適なデータ ソースを自動的に選択し、データの特性や傾向に基づいて視覚化されたレポートを生成します。
これらのレポートには、データをより直観的に理解し、効果的な意思決定を行うのに役立つさまざまなチャート、表、概要データなどを含めることができます。

!['dashboard-generation'](/image/dashboard/dashboard-generation.gif)

**親切なヒント**
- 新しい接続は自動的に同期されますが、過去の接続は手動で同期する必要があります。
- データが見つからない場合は、まずデータベースの同期を試みます (以下に示すように)。

!['sync database'](/image/AI-image/sync.png)
7 changes: 7 additions & 0 deletions pages/docs/ai-chat/text2sql.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AI language generation SQL

In the SQL console, users can query data in the database through SQL statements.
However, writing SQL statements can be difficult for users who are unfamiliar with SQL syntax.
Therefore, we hope to generate SQL statements through natural language to help users query data in the database more conveniently.

!['openconnection'](/image/AI-image/text2sql.gif)
7 changes: 7 additions & 0 deletions pages/docs/ai-chat/text2sql.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AI自然言語生成SQL

SQL コンソールでは、ユーザーは SQL ステートメントを通じてデータベース内のデータをクエリできます。
ただし、SQL 構文に慣れていないユーザーにとって SQL ステートメントの作成は難しい場合があります。
したがって、私たちは自然言語を通じて SQL ステートメントを生成し、ユーザーがデータベース内のデータをより簡単にクエリできるようにしたいと考えています。

!['openconnection'](/image/AI-image/text2sql.gif)
8 changes: 8 additions & 0 deletions pages/docs/connection-manage/_meta.en-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"open-connection": "Open link",
"database-manage": "Database Management",
"data-query": "Data Query",
"data-visualization": "Data Visualization",
"data-export": "Data Export"

}
8 changes: 8 additions & 0 deletions pages/docs/connection-manage/_meta.ja-JP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"open-connection": "オープン接続",
"database-manage": "データベース管理",
"data-query": "データクエリ",
"data-visualization": "データの視覚化",
"data-export": "データ出力"

}
1 change: 0 additions & 1 deletion pages/docs/connection-manage/_meta.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
"data-visualization": "数据可视化",
"data-export": "数据导出"


}
10 changes: 10 additions & 0 deletions pages/docs/connection-manage/data-export.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Data Output

Click `Export` on the right side of the toolbar to export data:

!['export1'](/image/connection-manage/export1.png)

- `Export result set csv`: Export the entire query result set to a CSV file
- `Export result set insert sql`: Export database query results as a series of SQL INSERT statements
- `Export result of current page set csv`: Export the results on the current page to a CSV format file
- `Export result of current page set insert sql`: Export the results displayed on the current page as an INSERT SQL statement
11 changes: 11 additions & 0 deletions pages/docs/connection-manage/data-export.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# データ出力

ツールバーの右側にある`Export`をクリックしてデータをエクスポートします。

!['export1'](/image/connection-manage/export1.png)

- `Export result set csv`:クエリ結果セット全体を CSV ファイルにエクスポートします
- `Export result set insert sql`:データベース クエリの結果を一連の SQL INSERT ステートメントとしてエクスポートします。
- `Export result of current page set csv`:現在のページの結果を CSV 形式のファイルにエクスポートします
- `Export result of current page set insert sql`:現在のページに表示されている結果を INSERT SQL ステートメントとしてエクスポートします。

23 changes: 23 additions & 0 deletions pages/docs/connection-manage/data-query.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Data Query

## Query all data
!['open_table'](/image/connection-manage/open_table.png)

!['open_table'](/image/connection-manage/all_data.png)

Right-click on the selected table and select `Open table` to view all data and modify the query data.

!['open_table'](/image/connection-manage/edit_data.png)

You can also modify the query results directly in the query form and click `Apply` to save the changes.

## Query any data
tables, table (a specific table), right-click and select `Query Console` to query the data of the desired conditions through SQL
!['open_table'](/image/connection-manage/new_console.png)

## Modify query results

When SQL is a single-table query, you can directly add, delete, modify, and query the query results.
!['open_table'](/image/connection-manage/edit_data.png)

You can also modify the query results directly in the query form and click `Apply` to save the changes.
23 changes: 23 additions & 0 deletions pages/docs/connection-manage/data-query.ja-JP.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# データクエリ

## すべてのデータをクエリする
!['open_table'](/image/connection-manage/open_table.png)

!['open_table'](/image/connection-manage/all_data.png)

選択したテーブルを右クリックし、`Open table` を選択してすべてのデータを表示し、クエリ データを変更します。

!['open_table'](/image/connection-manage/edit_data.png)

クエリ結果をクエリ フォームで直接変更し、 `Apply` をクリックして変更を保存することもできます。

## 任意のデータをクエリする
テーブル、テーブル (特定のテーブル) を右クリックして `Query Console`を選択し、SQL を通じて希望の条件のデータをクエリします。
!['open_table'](/image/connection-manage/new_console.png)

## クエリ結果を変更する

SQL が単一テーブル クエリの場合、クエリ結果を直接追加、削除、変更、クエリできます。
!['open_table'](/image/connection-manage/edit_data.png)

クエリ結果をクエリ フォームで直接変更し、 `Apply`をクリックして変更を保存することもできます。
67 changes: 67 additions & 0 deletions pages/docs/connection-manage/data-visualization.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Data Visualization

For a series of operations on the table, we will introduce them separately:

!['total'](/image/connection-manage/total.png)

- `Open Table`: open the table structure to view data
- `Query console`: Create a new console based on this database
- `Pin`: pin list
- `View DDL`: View the DDL statements of the table
- `Edit Table`: Edit table (table name, comments, column names, primary keys...)
- `Copy name`: Copy the table name
- `Refresh`: Refresh the table
- `Delete Table`: delete table
- `Generate Test Data`: Generate test data for developers to use

## View data

When you **double-click** a table in Database Explorer (View | Tool Windows | Database Explorer), the table, view, opens in the Data Editor.
Or you can right-click the mouse to select the table you want to view and click `Open Table` to view it!

!['visualization1'](/image/connection-manage/visualization1.png)

## Edit data

You can make modifications directly in the table. After modifying the data, submit it and the modification will be successful!

!['update'](/image/connection-manage/update.png)

In addition, you can also view the DDL statements for specific modification operations:

!['update2'](/image/connection-manage/update2.png)


## Refresh data

If you want to synchronize the data you see in the editor with the contents of the database, you need to reload the table view's data.

- Click the `refresh` button on the toolbar.

!['refresh1'](/image/connection-manage/refresh1.png)

- Right-click on the table and select Reload Page from the context menu.

!['refresh2'](/image/connection-manage/refresh2.png)

## Save Console

Click `Save` in the toolbar to save everything written in the console (although no SQL statement is executed)!

!['save'](/image/connection-manage/save.png)

!['save2'](/image/connection-manage/save2.png)

## View SQL log

Click `Executive logging` on the right side to view the execution record log.

!['logging'](/image/connection-manage/logging.png)

## Format SQL

Click `Format` in the toolbar to format the SQL statement!

!['format'](/image/connection-manage/format.png)

!['format2'](/image/connection-manage/format2.png)
Loading

0 comments on commit 7f0e49f

Please sign in to comment.