From f624d00121a6f8c72d7cf2af4803ea86c020234a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 18 May 2025 21:41:58 +0800 Subject: [PATCH] Add important note about external translation service --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 50a91c0b..6cc75315 100644 --- a/README.md +++ b/README.md @@ -187,12 +187,18 @@ Two ways (choose one): Go to [Releases](https://github.com/cheeaun/phanpy/releases) and download the latest `phanpy-dist.zip` or `phanpy-dist.tar.gz`. It's pre-built so don't need to run any install/build commands. Extract it. Serve the folder of extracted files. +> [!IMPORTANT] +> Text translations connect to an **external service** (`translang.phanpy.social`). + ### Custom-build way Requires [Node.js](https://nodejs.org/). Download or `git clone` this repository. Use `production` branch for *stable* releases, `main` for *latest*. Build it by running `npm run build` (after `npm install`). Serve the `dist` folder. +> [!IMPORTANT] +> Text translations connect to an **external service** (`translang.phanpy.social`). This can be configured with environment variables if you want to [self-host your own instance](#translang-api-hosting). + Customization can be done by passing environment variables to the build command. Examples: ```bash