Skip to content

translate multiple languages to test google click through rate #182

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gregnazario
Copy link
Collaborator

This translates the most popular impressions of pages that have a lower rates of click through.

Would like to see impact of translating some common pages to many languages.

@Copilot Copilot AI review requested due to automatic review settings August 11, 2025 06:22
Copy link

vercel bot commented Aug 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aptos-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2025 6:36am

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR translates multiple popular English documentation pages to test Google click-through rate by translating pages with lower click-through rates to various languages including Russian and Portuguese.

Key changes:

  • Translates comprehensive blockchain documentation to Russian (ru)
  • Translates core blockchain concept pages to Portuguese (pt)
  • Adds support documentation for developer tools in multiple languages

Reviewed Changes

Copilot reviewed 151 out of 163 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/content/docs/ru/network/blockchain/gas-txn-fee.mdx Comprehensive Russian translation of gas and transaction fee documentation
src/content/docs/ru/network/blockchain/blockchain-deep-dive.mdx Detailed Russian translation of blockchain architecture deep dive
src/content/docs/ru/network/blockchain/aptos-white-paper.mdx Russian translation of Aptos whitepaper page
src/content/docs/ru/network/blockchain/accounts.mdx Russian translation of accounts documentation
src/content/docs/ru/llms-txt.mdx Russian translation of LLMs.txt documentation
src/content/docs/ru/index.mdx Russian homepage with localized navigation
src/content/docs/ru/build/smart-contracts/why-move.mdx Russian translation of Move language benefits
src/content/docs/ru/build/sdks.mdx Russian translation of SDK overview
src/content/docs/ru/build/guides/first-transaction.mdx Comprehensive Russian tutorial for first transaction
src/content/docs/ru/build/guides/first-move-module.mdx Detailed Russian tutorial for first Move module
src/content/docs/ru/build/guides/build-e2e-dapp.mdx Russian translation of end-to-end dApp guide
src/content/docs/ru/build/get-started/developer-setup.mdx Russian translation of developer environment setup
src/content/docs/ru/build/get-started.mdx Russian translation of getting started page
src/content/docs/ru/build/cli.mdx Russian translation of CLI documentation
src/content/docs/ru/404.mdx Russian 404 error page
src/content/docs/pt/network/faucet.mdx Portuguese translation of faucet documentation
src/content/docs/pt/network/blockchain/txns-states.mdx Portuguese translation of transactions and states
src/content/docs/pt/network/blockchain/gas-txn-fee.mdx Portuguese translation of gas and transaction fees
src/content/docs/pt/network/blockchain/blockchain-deep-dive.mdx Portuguese translation of blockchain deep dive
src/content/docs/pt/network/blockchain/aptos-white-paper.mdx Portuguese translation of Aptos whitepaper
src/content/docs/pt/network/blockchain/accounts.mdx Portuguese translation of accounts documentation
src/content/docs/pt/llms-txt.mdx Portuguese translation of LLMs.txt documentation

pub struct GasUsed {
pub computation: u64, // Вычислительные операции
pub storage: u64, // Операции с хранилищем
pub io: u64, // Операции ввода/вывода
Copy link
Preview

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

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

[nitpick] The code block shows a Rust struct but the explanation mentions Move language context. Consider clarifying this is pseudocode or updating the language to match Move syntax.

Suggested change
pub io: u64, // Операции ввода/вывода
```move
struct GasUsed has copy, drop, store {
computation: u64, // Вычислительные операции
storage: u64, // Операции с хранилищем
io: u64, // Операции ввода/вывода

Copilot uses AI. Check for mistakes.

max_gas_amount=1_000_000,
gas_unit_price=100,
expiration_timestamps_secs=int(time.time()) + 600,
chain_id=4, # Devnet chain ID
Copy link
Preview

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

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

Hard-coded chain ID may become outdated. Consider referencing dynamic chain ID retrieval or noting this may change.

Suggested change
chain_id=4, # Devnet chain ID
chain_id=chain_id, # Получено динамически

Copilot uses AI. Check for mistakes.

- Убедитесь, что `Move.toml` существует и правильно настроен
- Проверьте название пакета в `Move.toml`

**Ошибка публикации: "INSUFFICIENT\_BALANCE\_FOR\_TRANSACTION\_FEE"**
Copy link
Preview

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

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

Incorrect escaping of underscore in error message. Should be 'INSUFFICIENT_BALANCE_FOR_TRANSACTION_FEE' without backslash escaping.

Suggested change
**Ошибка публикации: "INSUFFICIENT\_BALANCE\_FOR\_TRANSACTION\_FEE"**
**Ошибка публикации: "INSUFFICIENT_BALANCE_FOR_TRANSACTION_FEE"**

Copilot uses AI. Check for mistakes.


### Aborto de transação

Se uma transação ficar sem gas durante a execução, ela é abortada com uma condição de saída de "FORA\_DE\_GAS". Neste caso:
Copy link
Preview

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

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

Incorrect escaping of underscore in error condition. Should be 'FORA_DE_GAS' without backslash escaping.

Suggested change
Se uma transação ficar sem gas durante a execução, ela é abortada com uma condição de saída de "FORA\_DE\_GAS". Neste caso:
Se uma transação ficar sem gas durante a execução, ela é abortada com uma condição de saída de "FORA_DE_GAS". Neste caso:

Copilot uses AI. Check for mistakes.

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.

1 participant