Dan Ditomaso
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
4 additions and
4 deletions
-
.github/workflows/crowdin-download.yml
-
README.md
-
packages/web/CONTRIBUTING_I18N_DEVELOPER_GUIDE.md
|
|
|
@ -17,7 +17,7 @@ jobs: |
|
|
|
uses: crowdin/github-action@v2 |
|
|
|
with: |
|
|
|
base_url: "https://meshtastic.crowdin.com/api/v2" |
|
|
|
config: "crowdin.yml" |
|
|
|
config: "./packages/web/crowdin.yml" |
|
|
|
upload_sources: false |
|
|
|
upload_translations: false |
|
|
|
download_translations: true |
|
|
|
|
|
|
|
@ -77,10 +77,10 @@ Follow the installation instructions on their home page. |
|
|
|
|
|
|
|
#### Meshtastic Web Client |
|
|
|
|
|
|
|
To start the development server for the web client: |
|
|
|
To start the development server for the web client, while inside the packages/web folder: |
|
|
|
|
|
|
|
```bash |
|
|
|
cd ./packages/web && bun run dev |
|
|
|
bun run dev |
|
|
|
``` |
|
|
|
|
|
|
|
This will typically run the web client on http://localhost:3000 and requires a |
|
|
|
|
|
|
|
@ -57,7 +57,7 @@ when creating new keys in the JSON files. |
|
|
|
### Namespace Rules |
|
|
|
|
|
|
|
We use namespaces to organize keys. All source keys are added to the English |
|
|
|
(`en`) files located at `/i18n/locales/en/`. Place your new keys in the |
|
|
|
(`en`) files located at `/packages/web/public/i18n/locales/en/`. Place your new keys in the |
|
|
|
appropriate file based on these rules: |
|
|
|
|
|
|
|
- `common.json`: |
|
|
|
|