Skip to content

Commit 8bfb0c0

Browse files
stackiaclaude
andcommitted
feat(i18n): add bilingual support to install script
Add --lang parameter (zh default, en optional) to the install script so English-speaking users get localized output. Update English docs to pass --lang en when invoking the script. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f823a55 commit 8bfb0c0

2 files changed

Lines changed: 169 additions & 152 deletions

File tree

docs/en/guide/quick-start.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Quick Start
22

3-
## OpenWrt One-Click Install/Update (Recommended)
3+
## OpenWrt Quick Install/Update (Recommended)
44

55
Run the following command to automatically download and install the latest version:
66

77
```bash
8-
uclient-fetch -q -O - https://raw.githubusercontent.com/stackia/rtp2httpd/main/scripts/install-openwrt.sh | sh
8+
uclient-fetch -q -O - https://raw.githubusercontent.com/stackia/rtp2httpd/main/scripts/install-openwrt.sh | sh -s -- --lang en
99
```
1010

1111
The script will automatically:
@@ -16,7 +16,7 @@ The script will automatically:
1616
- If previously installed, running this script will uninstall the old version and reinstall the latest version
1717

1818
> [!TIP]
19-
> If the one-click script doesn't work, you can manually download the packages for your architecture from the [Releases](https://github.com/stackia/rtp2httpd/releases) page:
19+
> If the install script doesn't work, you can manually download the packages for your architecture from the [Releases](https://github.com/stackia/rtp2httpd/releases) page:
2020
>
2121
> - `rtp2httpd_<version>_<arch>.ipk` - Main program package
2222
> - `luci-app-rtp2httpd_<version>_all.ipk` - LuCI Web interface
@@ -47,7 +47,6 @@ After installation, find "rtp2httpd" in the "Services" menu of the LuCI manageme
4747
> - <https://www.right.com.cn/forum/thread-8461513-1-1.html>
4848
> - <https://github.com/jarod360/rtp2httpd/releases>
4949
50-
5150
### Required Configuration Items
5251
5352
1. **Basic Settings - Enable**: Check to enable rtp2httpd

0 commit comments

Comments
 (0)