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 Russian translation of the main page #2985

Closed
wants to merge 2 commits into from
Closed

🌐 Add Russian translation of the main page #2985

wants to merge 2 commits into from

Conversation

CharNikita
Copy link

@tiangolo Hello! Started translating documentation into Russian.
Issue #1362

@github-actions
Copy link
Contributor

📝 Docs preview for commit b29aa9d at: https://605a7969ae344e00910ce494--fastapi.netlify.app

@github-actions
Copy link
Contributor

📝 Docs preview for commit 8ea8401 at: https://605a7cddf78db400ca0ff07a--fastapi.netlify.app

@ArcLightSlavik
Copy link
Contributor

There's already a index.md translation in #1363
But as ycd/kludex noted in #1362 the creator of the PR seems to be gone, so if u want u can take over that PR in this one. This includes other files separate from index.md.
On a side note I will probably need to do the same with Ukrainian 🙂

@CharNikita
Copy link
Author

There's already a index.md translation in #1363
But as ycd/kludex noted in #1362 the creator of the PR seems to be gone, so if u want u can take over that PR in this one. This includes other files separate from index.md.
On a side note I will probably need to do the same with Ukrainian 🙂

@CharNikita CharNikita closed this Mar 25, 2021
@CharNikita CharNikita reopened this Mar 25, 2021
@tiangolo tiangolo changed the title Update Russian translation 🌐 Add Russian translation of the main page Jul 3, 2021
@tiangolo tiangolo added awaiting-review lang-all Translations lang-ru Russian translations labels Jul 3, 2021
@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2021

Awesome!

I'll leave this PR and close the previous one at #1363 as the original author's account for that other PR is no longer available in GitHub.

Now this just needs a couple of reviews. 👀 🔍 ✔️

@@ -6,7 +6,7 @@
<a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
</p>
<p align="center">
<em>FastAPI framework, high performance, easy to learn, fast to code, ready for production</em>
<em>FastAPI фреймворк, лучшая производительность, низкий порог входа, высокая скорость разработки, production-ready решение</em>
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
<em>FastAPI фреймворк, лучшая производительность, низкий порог входа, высокая скорость разработки, production-ready решение</em>
<em>FastAPI фреймворк, высокая производительность, низкий порог входа, быстрая разработка, production-ready решение</em>

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
<em>FastAPI фреймворк, лучшая производительность, низкий порог входа, высокая скорость разработки, production-ready решение</em>
<em>Готовый к внедрению высокопроизводительный фреймворк, простой в изучении и разработке.</em>


---

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
FastAPI - это современный, высокопроизводительный веб-фреймворк для построения API на Python 3.6+ в основе которого лежит стандартная аннотация типов.
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 - это современный, высокопроизводительный веб-фреймворк для построения API на Python 3.6+ в основе которого лежит стандартная аннотация типов.
FastAPI - это современный, высокопроизводительный веб-фреймворк для построения API на Python 3.6+, в основе которого лежит стандартная аннотация типов.


* **Fast**: Very high performance, on par with **NodeJS** and **Go** (thanks to Starlette and Pydantic). [One of the fastest Python frameworks available](#performance).
* **Эффективность**: Отличная производительность наравне с **NodeJS** и **Go** (благодаря Starlette и Pydantic). [Один из самых быстрых Python фреймворков](#performance).
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
* **Эффективность**: Отличная производительность наравне с **NodeJS** и **Go** (благодаря Starlette и Pydantic). [Один из самых быстрых Python фреймворков](#performance).
* **Скорость**: отличная производительность наравне с **NodeJS** и **Go** (благодаря Starlette и Pydantic). [Один из самых быстрых Python фреймворков](#performance).

Эффективность --- это не всегда скорость, т.е. эффективное действие может быть менее быстрое, но более экономичное, например.


* **Fast**: Very high performance, on par with **NodeJS** and **Go** (thanks to Starlette and Pydantic). [One of the fastest Python frameworks available](#performance).
* **Эффективность**: Отличная производительность наравне с **NodeJS** и **Go** (благодаря Starlette и Pydantic). [Один из самых быстрых Python фреймворков](#performance).
* **Скорость разработки**: Увеличьте свою скорость разработки на 200–300%. *
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
* **Скорость разработки**: Увеличьте свою скорость разработки на 200–300%. *
* **Быстрая разработка**: увеличьте свою скорость разработки на 200–300%. *

* **Простота**: Низкий порог вхождения. Простая и понятная документация.
* **Лаконичность**: Минимальное дублирование кода. Большое количество готовых решений.
* **Надёжность**: Получите production-ready код с генерацией интерактивной документации.
* **Специфицирован**: Основан, и полностью совместим, на стандартах API: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> (так же известный как Swagger) и <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
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
* **Специфицирован**: Основан, и полностью совместим, на стандартах API: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> (так же известный как Swagger) и <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
* **Соответствие стандартам**: Основан на открытых стандартах API: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> (ранее известный как Swagger) и <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>, и полностью совместим с ними.

* Both _paths_ take `GET` <em>operations</em> (also known as HTTP _methods_).
* The _path_ `/items/{item_id}` has a _path parameter_ `item_id` that should be an `int`.
* The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
* Принимать HTTP запросы по _маршрутам_ `/` и `/items/{item_id}`.
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
* Принимать HTTP запросы по _маршрутам_ `/` и `/items/{item_id}`.
* Принимает HTTP запросы по _маршрутам_ `/` и `/items/{item_id}`.

* The _path_ `/items/{item_id}` has a _path parameter_ `item_id` that should be an `int`.
* The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
* Принимать HTTP запросы по _маршрутам_ `/` и `/items/{item_id}`.
* Оба _маршрута_ умеют обрабатывать `GET`-<em>операцию</em> ( HTTP _метод_).
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
* Оба _маршрута_ умеют обрабатывать `GET`-<em>операцию</em> ( HTTP _метод_).
* Умеет обрабатывать `GET`-<em>операции</em> ( HTTP _метод_) для обоих _маршрутов_ .

* The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
* Принимать HTTP запросы по _маршрутам_ `/` и `/items/{item_id}`.
* Оба _маршрута_ умеют обрабатывать `GET`-<em>операцию</em> ( HTTP _метод_).
* _Маршрут_ `/items/{item_id}` имеет _параметр_ `item_id` типа `int`.
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
* _Маршрут_ `/items/{item_id}` имеет _параметр_ `item_id` типа `int`.
* Для _маршрута_ `/items/{item_id}` обрабатывает обязательный _параметр_ `item_id` типа `int`.

* Принимать HTTP запросы по _маршрутам_ `/` и `/items/{item_id}`.
* Оба _маршрута_ умеют обрабатывать `GET`-<em>операцию</em> ( HTTP _метод_).
* _Маршрут_ `/items/{item_id}` имеет _параметр_ `item_id` типа `int`.
* _Маршрут_ `/items/{item_id}` имеет необязательный _параметр_ `q` типа `str`.
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
* _Маршрут_ `/items/{item_id}` имеет необязательный _параметр_ `q` типа `str`.
* Для_маршрута_ `/items/{item_id}` обрабатывает необязательный _параметр запроса_ `q` типа `str`.


Now modify the file `main.py` to receive a body from a `PUT` request.
Изменим код `main.py`чтобы получить тело `PUT` запроса.
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
Изменим код `main.py`чтобы получить тело `PUT` запроса.
Изменим код `main.py`, чтобы получить тело `PUT` запроса.

@tiangolo tiangolo mentioned this pull request Oct 7, 2021
* **Меньше багов**: На 40% меньше багов при разработке. *
* **Авто дополнение**: Отличная поддержка IDE – тратьте меньше времени на отладку.
* **Простота**: Низкий порог вхождения. Простая и понятная документация.
* **Лаконичность**: Минимальное дублирование кода. Большое количество готовых решений.
Copy link

Choose a reason for hiding this comment

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

Suggested change
* **Лаконичность**: Минимальное дублирование кода. Большое количество готовых решений.
* **Лаконичность**: Минимальное дублирование кода. Большое количество готовых решений. Меньше багов.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review lang-all Translations lang-ru Russian translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants