Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌐 Add Japanese translation for docs/ja/docs/advanced/nosql-databases.md #4205

Merged

Conversation

sUeharaE4
Copy link
Contributor

Relates to #1572

This PR translates advanced/nosql-databases.md.

I left "databases" in the page title as it is because there is no word for the plural of database in Japanese.
This is my first pull request, so I apologize if there are any problems. I would appreciate it if you could check it.

@tiangolo tiangolo changed the title Add Japanese translation for Advanced - NoSQL Databases 🌐 Add Japanese translation for docs/ja/docs/advanced/nosql-databases.md Dec 8, 2021
@tiangolo tiangolo added awaiting-review lang-all Translations lang-ja Japanese translations labels Dec 8, 2021
@github-actions github-actions bot mentioned this pull request Dec 8, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2021

📝 Docs preview for commit 96bd631 at: https://61b0caec4bb4cd2a61ab32e4--fastapi.netlify.app

@codecov
Copy link

codecov bot commented Dec 8, 2021

Codecov Report

Merging #4205 (0b29c08) into master (1876ebc) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #4205   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          532       532           
  Lines        13672     13672           
=========================================
  Hits         13672     13672           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1876ebc...0b29c08. Read the comment docs.

Copy link
Contributor

@dimaqq dimaqq left a comment

Choose a reason for hiding this comment

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

I'm not a native speaker, but this seems solid!

Copy link
Contributor

@wakabame wakabame left a comment

Choose a reason for hiding this comment

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

Excellent work!!

@dimaqq
Copy link
Contributor

dimaqq commented Jun 16, 2022

@tiangolo this should be ready, let's merge!

Copy link
Contributor

@tokusumi tokusumi left a comment

Choose a reason for hiding this comment

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

Thank you for great work!!!
I'd like to suggests the followings, although already you've gotten enough approve.

@@ -0,0 +1,155 @@
# NoSQL (分散 / ビッグデータ) Databases

**FastAPI** はあらゆる <abbr title="分散データベース (Big Data), や 'Not Only SQL'">NoSQL</abbr>と統合することもできます。
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
**FastAPI** はあらゆる <abbr title="分散データベース (Big Data), や 'Not Only SQL'">NoSQL</abbr>と統合することもできます。
**FastAPI** はあらゆる <abbr title="分散データベース (Big Data)や 'Not Only SQL'">NoSQL</abbr>と統合することもできます。

Copy link
Contributor

Choose a reason for hiding this comment

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

we could omit "," or put it after "や"

Copy link
Contributor Author

Choose a reason for hiding this comment

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


この関数では:

* **Couchbase** クラスタ(1台の場合もあるでしょう)に接続し
Copy link
Contributor

Choose a reason for hiding this comment

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

Here too rough writing are used than other sections. I suggest to delete some "し" and "して" at all lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

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


## Pydantic モデルの作成

**Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルにすることが出来ます。
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
**Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルにすることが出来ます
**Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルに出来ます

Suggesting shorten expression at the end of a sentence.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

{!../../../docs_src/nosql_databases/tutorial001.py!}
```

このモデルは*path operation*で利用できる関数で使用するので`hashed_password`はモデルに含めません。
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
このモデルは*path operation*で利用できる関数で使用するので`hashed_password`はモデルに含めません
このモデルは*path operation*に使用するので、`hashed_password`は含めません

This is difficult to translate. Here, path operation (function) refer to read_user function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

{!../../../docs_src/nosql_databases/tutorial001.py!}
```

!!! note
Copy link
Contributor

@tokusumi tokusumi Jun 16, 2022

Choose a reason for hiding this comment

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

Suggested change
!!! note
!!! note "備考"

Unified at translation tracking issue

Copy link
Contributor Author

Choose a reason for hiding this comment

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


それでは次の関数を作成しましょう:

* username を取得して
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above suggestion. Deleting "して" or Replacing with "する" are better.

Copy link
Contributor Author

@sUeharaE4 sUeharaE4 Jun 18, 2022

Choose a reason for hiding this comment

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

{!../../../docs_src/nosql_databases/tutorial001.py!}
```

### f-strings
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
### f-strings
### f-strings

Maybe newline needs after heading.

Copy link
Contributor Author

Choose a reason for hiding this comment

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


## "document type" として利用する定数の定義

documentで利用する固定のフィールド`type`を用意しておきます。
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
documentで利用する固定のフィールド`type`を用意しておきます
documentで利用する固定の`type`フィールドを用意しておきます

More easier to read?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

* **ArangoDB**
* **ElasticSearch** など。

!!! 豆知識
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
!!! 豆知識
!!! tip "豆知識"

I'm not sure but maybe this is (or was) right syntax.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@github-actions
Copy link
Contributor

📝 Docs preview for commit 99a1523 at: https://62ad80850151d34b7adb7eb3--fastapi.netlify.app

Co-authored-by: tokusumi <41147016+tokusumi@users.noreply.github.com>
@github-actions
Copy link
Contributor

📝 Docs preview for commit 0b29c08 at: https://62add7c6b9dd507f67334965--fastapi.netlify.app

Copy link
Contributor

@tokusumi tokusumi left a comment

Choose a reason for hiding this comment

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

LGTM

@tiangolo
Copy link
Owner

Thanks for the contribution @sUeharaE4! 🍰

And thank you for the reviews @dimaqq, @wakabame, and @tokusumi! ☕

@tiangolo tiangolo merged commit e23fa40 into tiangolo:master Aug 18, 2022
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
….md` (tiangolo#4205)

Co-authored-by: tokusumi <41147016+tokusumi@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-2 lang-all Translations lang-ja Japanese translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants