Skip to content

Commit 0c80f42

Browse files
committed
feat(docs): add i18n support with Chinese translations
- Add zh/ directory structure for Chinese documentation - Translate core protocol, guides, and reference docs - Enable bilingual documentation support
1 parent 8e2a64d commit 0c80f42

132 files changed

Lines changed: 18467 additions & 240 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs.json

Lines changed: 589 additions & 225 deletions
Large diffs are not rendered by default.

docs/alt-vm-implementations/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ While our public documentation currently focuses on EVM compatibility, we offer
1414

1515
### CosmosSDK
1616

17-
The Hyperlane Cosmos SDK module, enables direct integration with Cosmos SDK-based blockchains. See [Hyperlane - Cosmos SDK Module](docs/alt-vm-implementations/cosmos-sdk).
17+
The Hyperlane Cosmos SDK module, enables direct integration with Cosmos SDK-based blockchains. See [Hyperlane - Cosmos SDK Module](/docs/alt-vm-implementations/cosmos-sdk).
1818

1919
### CosmWasm[](#cosmwasm "Direct link to CosmWasm")
2020

docs/guides/production/warp-route-deployment/transfer-warp-route-ownership.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: "Transfer Ownership"
33
---
44

5-
import PrerequisitesPartial from "/snippets/prerequisites-config-symbol.mdx";
6-
import WarpReadSymbolChainPartial from "/snippets/warp-read-symbol-chain.mdx";
7-
import WarpApplySymbolConfigDefaultPartial from "/snippets/warp-apply-symbol-config-default.mdx";
5+
import PrerequisitesPartial from "/snippets/warp-routes/prerequisites-config-symbol.mdx";
6+
import WarpReadSymbolChainPartial from "/snippets/warp-routes/warp-read-symbol-chain.mdx";
7+
import WarpApplySymbolConfigDefaultPartial from "/snippets/warp-routes/warp-apply-symbol-config-default.mdx";
88

99
This guide provides a step-by-step guide to transferring ownership of your Hyperlane Warp Route (HWR). It also explains the responsibilities, security considerations, and configuration options that come with owning a HWR.
1010

docs/guides/quickstart/deploy-warp-route.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,6 @@ You can test in either direction between where you have the HWR set. However, if
161161

162162
## Learn More
163163

164-
- Check out the [HWR](docs/applications/warp-routes/overview) reference page for more information on the interface and security implications of a HWR. The [interface](docs/applications/warp-routes/overview#interface) section covers calling `transferRemote` to transfer tokens to a specified recipient on a destination chain. Note that you'll have to prompt for a token approval prior to calling `transferRemote`.
164+
- Check out the [HWR](/docs/applications/warp-routes/overview) reference page for more information on the interface and security implications of a HWR. The [interface](/docs/applications/warp-routes/overview#interface) section covers calling `transferRemote` to transfer tokens to a specified recipient on a destination chain. Note that you'll have to prompt for a token approval prior to calling `transferRemote`.
165165

166166
- A HWR is a type of [router](/docs/reference/developer-tools/libraries/router) application, a pattern enabling you to link multiple contracts across chains together.

docs/guides/warp-routes/evm/transfer-and-call-pattern.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: "Transfer and Call Pattern"
66

77
The **Transfer and Call Pattern** enables a contract to both bridge assets via [Hyperlane Warp Route (HWR)](/docs/protocol/warp-routes/warp-routes-overview) and execute an action on the destination chain after the assets arrive. This pattern is useful for cases where an action depends on token balances after bridging.
88

9-
While HWR handle cross-chain token transfers, this pattern extends their capabilities by using [Interchain Accounts (ICA)](docs/applications/interchain-account) to execute arbitrary logic on the destination chain.
9+
While HWR handle cross-chain token transfers, this pattern extends their capabilities by using [Interchain Accounts (ICA)](/docs/applications/interchain-account) to execute arbitrary logic on the destination chain.
1010

1111
### Use Cases
1212

@@ -67,7 +67,7 @@ flowchart TB
6767
## How It Works
6868

6969
1. Tokens are transferred from the sender to the contract.
70-
2. An [Interchain Account (ICA)](docs/applications/interchain-account) is derived for the contract on the destination chain.
70+
2. An [Interchain Account (ICA)](/docs/applications/interchain-account) is derived for the contract on the destination chain.
7171
3. The HWR transfer is initiated, sending the tokens crosschain to the interchain account.
7272
4. A remote contract call is executed on the destination chain from the interchain account after the tokens arrive.
7373

docs/protocol/ISM/standard-ISMs/multisig-ism-latencies.mdx

Lines changed: 196 additions & 3 deletions
Large diffs are not rendered by default.

docs/protocol/core/interchain-gas-payment.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ flowchart LR
5050
IGP -. "value" .- Relayer
5151
```
5252

53-
For convenience, a [Relayer](docs/operate/relayer/run-relayer) watches for dispatched messages and will submit process transactions on behalf of the message sender if they receive sufficient payment on the origin chain. This is the _interchain gas payment_.
53+
For convenience, a [Relayer](/docs/operate/relayer/run-relayer) watches for dispatched messages and will submit process transactions on behalf of the message sender if they receive sufficient payment on the origin chain. This is the _interchain gas payment_.
5454

5555
```mermaid
5656
flowchart LR
@@ -103,4 +103,4 @@ There are no trust assumptions with respect to Relayers in the Hyperlane protoco
103103
## Learn More
104104

105105
- For details on gas limit calculations, benchmarking recommendations, gas oracles, and destination gas configuration, refer to [Interchain Gas Payment Details](/docs/reference/hooks/interchain-gas).
106-
- For Relayer setups and implementation guidance, see the [Relayer](docs/operate/relayer/run-relayer) section.
106+
- For Relayer setups and implementation guidance, see the [Relayer](/docs/operate/relayer/run-relayer) section.

docs/resources/glossary.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ A [middleware](/docs/resources/glossary#middleware) smart contract that allows u
4242

4343
For example, DAOs can use interchain accounts to own contracts on remote chains.
4444

45-
See [Interchain Accounts](docs/applications/interchain-account) for more information.
45+
See [Interchain Accounts](/docs/applications/interchain-account) for more information.
4646

4747
## Interchain gas paymaster
4848

4949
A smart contract deployed by a [Relayer](/docs/resources/glossary#relayer) that accepts payments on an origin chain for message delivery on destination chains.
5050

51-
See [interchain gas payments](docs/protocol/core/interchain-gas-payment) for more information
51+
See [interchain gas payments](/docs/protocol/core/interchain-gas-payment) for more information
5252

5353
## Interchain queries (IQS)
5454

@@ -64,7 +64,7 @@ ISMs are responsible for verifying that interchain messages being delivered on t
6464

6565
## Mailbox
6666

67-
Arguably the most important Hyperlane smart contract, the [mailbox](docs/protocol/core/interchain-gas-payment) exposes an interface that developers can use to [send](/docs/reference/messaging/send) and [receive](/docs/reference/messaging/receive) interchain messages.
67+
Arguably the most important Hyperlane smart contract, the [mailbox](/docs/protocol/core/interchain-gas-payment) exposes an interface that developers can use to [send](/docs/reference/messaging/send) and [receive](/docs/reference/messaging/receive) interchain messages.
6868

6969
## Middleware[](#middleware "Direct link to Middleware")
7070

zh/docs/alt-vm-implementations/cosmos-sdk.mdx

Lines changed: 138 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)