From 47a9eff5578d21bdd2b6c6bc9fcb36089d39518e Mon Sep 17 00:00:00 2001 From: rcarteraz Date: Tue, 13 Feb 2024 20:38:44 -0700 Subject: [PATCH] add translation how-tos for android and apple apps --- docs/software/android/translate.mdx | 18 ++++++++++++++++++ docs/software/apple/installation.mdx | 1 + docs/software/apple/translate.mdx | 18 ++++++++++++++++++ docs/software/apple/usage.mdx | 1 + 4 files changed, 38 insertions(+) create mode 100644 docs/software/android/translate.mdx create mode 100644 docs/software/apple/translate.mdx diff --git a/docs/software/android/translate.mdx b/docs/software/android/translate.mdx new file mode 100644 index 00000000..af5a6542 --- /dev/null +++ b/docs/software/android/translate.mdx @@ -0,0 +1,18 @@ +--- +id: android-app-translate +title: Translate the Android App +sidebar_label: Translate +sidebar_position: 3 +--- + +## How to Contribute + +Contributing translations to the Meshtastic Apple app helps make the project accessible to a wider audience. Follow these steps to add your translations through Crowdin: + +1. **Access Crowdin**: Visit the Meshtastic project's Crowdin page at [https://crowdin.meshtastic.org](https://crowdin.meshtastic.org). +2. **Create an Account**: Click on 'Sign Up' in the top right corner of the page and follow the prompts to create a Crowdin account. +3. **Navigate to the Project**: Once logged in, locate and select the 'Android Application' project from the Crowdin dashboard. +4. **Choose a Language**: Find the language you want to contribute translations for and click on 'Go to Editor' to start translating. +5. **Start Translating**: In the editor, you'll see a list of strings on the left-hand side. Click on a string to select it, then enter your translation in the editor box. When you're finished with a string, click 'Save' to store your translation. Repeat this process for each string you wish to translate. + +Your contribution will be reviewed, and upon approval, your translation will be included in the next release of the Meshtastic Android app. Thank you for helping expand the reach of Meshtastic! diff --git a/docs/software/apple/installation.mdx b/docs/software/apple/installation.mdx index b84c16bf..d06acaea 100644 --- a/docs/software/apple/installation.mdx +++ b/docs/software/apple/installation.mdx @@ -3,6 +3,7 @@ id: installation title: Apple Application Installation description: Download on the App Store sidebar_label: Installation +sidebar_position: 1 --- diff --git a/docs/software/apple/translate.mdx b/docs/software/apple/translate.mdx new file mode 100644 index 00000000..07ec1fb3 --- /dev/null +++ b/docs/software/apple/translate.mdx @@ -0,0 +1,18 @@ +--- +id: apple-app-translate +title: Translate the Apple App +sidebar_label: Translate +sidebar_position: 3 +--- + +## How to Contribute + +Contributing translations to the Meshtastic Apple app helps make the project accessible to a wider audience. Follow these steps to add translations for a new language: + +1. **Fork the Repository**: Start by forking the [Meshtastic-Apple repository]() to your GitHub account. +2. **Create a Language Folder**: In your forked repository, create a new folder for your language using the language code followed by `.lproj`. For example, for German, create a folder named `de.lproj`. +3. **Copy the Localizable.strings File**: Navigate to the English strings folder [here]() and copy the `Localizable.strings` file. Paste this file into the folder you created in the previous step. +4. **Translate the Strings**: Open the `Localizable.strings` file in your language folder and translate the English strings into your language. Be sure to maintain the format of the file. +5. **Create a Pull Request**: Once you've completed the translation, create a new pull request from your forked repository to the main Meshtastic-Apple repository. Title the pull request appropriately (e.g., "Add German Translation") and describe the changes you've made. + +Your contribution will be reviewed, and upon approval, your translation will be included in the next release of the Meshtastic Apple app. Thank you for helping expand the reach of Meshtastic! \ No newline at end of file diff --git a/docs/software/apple/usage.mdx b/docs/software/apple/usage.mdx index 8bbddce2..30ddb26a 100644 --- a/docs/software/apple/usage.mdx +++ b/docs/software/apple/usage.mdx @@ -2,6 +2,7 @@ id: usage title: Apple Application Usage sidebar_label: Usage +sidebar_position: 2 --- ## Offline Maps